base\Component off()

off() public method

Detaches an existing event handler from this component.

This method is the opposite of on().

See also on().

public boolean off ( $name, $handler = null )
$name string

Event name

$handler callable

The event handler to be removed. If it is null, all handlers attached to the named event will be removed.

return boolean

If a handler is found and detached

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

Please login to continue.