| Package | system.base |
|---|---|
| Inheritance | interface IBehavior |
| Subclasses | CActiveRecordBehavior, CBehavior, CModelBehavior |
| Since | 1.0.2 |
| Version | $Id: interfaces.php 1290 2009-08-06 16:13:11Z qiang.xue $ |
| Method | Description | Defined By |
|---|---|---|
| attach() | Attaches the behavior object to the component. | IBehavior |
| detach() | Detaches the behavior object from the component. | IBehavior |
| getEnabled() | IBehavior | |
| setEnabled() | IBehavior |
|
abstract public void attach(CComponent $component)
| ||
| $component | CComponent | the component that this behavior is to be attached to. |
Attaches the behavior object to the component.
|
abstract public void detach(CComponent $component)
| ||
| $component | CComponent | the component that this behavior is to be detached from. |
Detaches the behavior object from the component.
|
abstract public boolean getEnabled()
| ||
| {return} | boolean | whether this behavior is enabled |
|
abstract public void setEnabled(boolean $value)
| ||
| $value | boolean | whether this behavior is enabled |
Be the first person to leave a comment
Please login to leave your comment.