attach() public method
Attaches the behavior object to the component.
The default implementation will set the $owner property and attach event handlers as declared in events(). Make sure you call the parent implementation if you override this method.
| public void attach ( $owner ) | ||
|---|---|---|
| $owner | yii\base\Component |
The component that this behavior is to be attached to. |
Please login to continue.