attachBehaviors() public method
Attaches a list of behaviors to the component.
Each behavior is indexed by its name and should be a yii\base\Behavior object, a string specifying the behavior class, or an configuration array for creating the behavior.
See also attachBehavior().
public void attachBehaviors ( $behaviors ) | ||
---|---|---|
$behaviors | array |
List of behaviors to be attached to the component |
Please login to continue.