Revision #7                                    has been created by 
 Gismo                                    on Jan 10, 2013, 12:27:14 PM with the memo:
                                
                                
                                    Add russian version                                
                                                                    « previous (#6)                                                                                            
                            Changes
                            
    Title
    unchanged
    Behaviors & events
    Category
    unchanged
    Tutorials
    Yii version
    unchanged
    
    Tags
    unchanged
    
    Content
    changed
    [...]
$test_comp->add(2, 5);
```
So, in this case, you are extending the functionality of an object with functionality of another object.
After studying this cookbook page you are encouraged to reread the [corresponding guide page](http://www.yiiframework.com/doc/guide/basics.component) as it contains advanced information (for example, if you are familiar with interfaces, you might find it enough to implement IBehavior before extending CBehavior).
 
 
- Russian version: [Поведение и события](http://phptime.ru/blog/yii/31.html)