EventManager/ListenerAggregate.php

Show: PublicProtectedPrivateinherited
    Table of Contents
    Zend Framework
    LICENSE This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
    Category
    Zend  
    Copyright
    Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
    License
    New BSD License  
    Package
    Zend_EventManager  

    \Zend_EventManager_ListenerAggregate

    Package: Zend_EventManager
    Interface for self-registering event listeners.
    Classes implementing this interface may be registered by name or instance with an EventManager, without an event name. The {@link attach()} method will then be called with the current EventManager instance, allowing the class to wire up one or more listeners.
    Category
    Zend  
    Copyright
    Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
    License
    New BSD License  

    Methods

    methodpublicattach(\Zend_EventManager_EventCollection $events) : void

    Attach one or more listeners

    Implementors may add an optional $priority argument; the EventManager implementation will pass this to the aggregate.
    Parameters
    NameTypeDescription
    $events\Zend_EventManager_EventCollection
    methodpublicdetach(\Zend_EventManager_EventCollection $events) : void

    Detach all previously attached listeners

    Parameters
    NameTypeDescription
    $events\Zend_EventManager_EventCollection
    Documentation was generated by phpDocumentor 2.2.0 .