Prado\Util\TBehavior::events PHP Method

events() public method

The events are defined by the {@link owner} component, while the handler methods by the behavior class. The handlers will be attached to the corresponding events when the behavior is attached to the {@link owner} component; and they will be detached from the events when the behavior is detached from the component.
public events ( ) : array
return array events (array keys) and the corresponding event handler methods (array values).
    public function events()
    {
        return array();
    }