base\Component detachBehavior()

detachBehavior() public method

Detaches a behavior from the component.

The behavior's yii\base\Behavior::detach() method will be invoked.

public null|yii\base\Behavior detachBehavior ( $name )
$name string

The behavior's name.

return null|yii\base\Behavior

The detached behavior. Null if the behavior does not exist.

doc_Yii
2016-10-30 16:51:04
Comments
Leave a Comment

Please login to continue.