EventManager/Filter.php

Show: inherited
    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 [email protected] so we can send you a copy immediately.

    Category
    Zend  
    Copyright
    Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
    License
    New BSD License  
    Package
    Zend_EventManager  

    \Zend_EventManager_Filter

    Package: Zend\EventManager

    Interface for intercepting filter chains

    Category
    Zend  
    Copyright
    Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
    License
    New BSD License  

    Methods

    methodpublicattach(callback $callback) : \Zend_Stdlib_CallbackHandler

    Attach an intercepting filter

    Parameters
    Name Type Description
    $callback callback
    Returns
    Type Description
    \Zend_Stdlib_CallbackHandler
    methodpublicclearFilters() : void

    Clear all filters

    methodpublicdetach(\Zend_Stdlib_CallbackHandler $filter) : bool

    Detach an intercepting filter

    Parameters
    Name Type Description
    $filter \Zend_Stdlib_CallbackHandler
    Returns
    Type Description
    bool
    methodpublicgetFilters() : array

    Get all intercepting filters

    Returns
    Type Description
    array
    methodpublicgetResponses() : \Zend_EventManager_ResponseCollection

    Get all filter responses

    Returns
    Type Description
    \Zend_EventManager_ResponseCollection
    methodpublicrun(string | object $context, array $params = array()) : mixed

    Execute the filter chain

    Parameters
    Name Type Description
    $context string | object
    $params array
    Returns
    Type Description
    mixed
    Documentation was generated by phpDocumentor 2.0.0a8.