behaviors\AttributeTypecastBehavior attach()

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.

doc_Yii
2016-10-30 16:52:47
Comments
Leave a Comment

Please login to continue.