EventManager/EventDescription.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_EventDescription

    Package: Zend_EventManager
    Representation of an event
    Category
    Zend  
    Copyright
    Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
    License
    New BSD License  

    Methods

    methodpublicgetName() : string

    Get event name

    Returns
    TypeDescription
    string
    methodpublicgetParam(string $name, mixed $default = null) : mixed

    Get a single parameter by name

    Parameters
    NameTypeDescription
    $namestring
    $defaultmixed

    Default value to return if parameter does not exist

    Returns
    TypeDescription
    mixed
    methodpublicgetParams() : array | \ArrayAccess

    Get parameters passed to the event

    Returns
    TypeDescription
    array | \ArrayAccess
    methodpublicgetTarget() : null | string | object

    Get target/context from which event was triggered

    Returns
    TypeDescription
    null | string | object
    methodpublicpropagationIsStopped() : bool

    Has this event indicated event propagation should stop?

    Returns
    TypeDescription
    bool
    methodpublicsetName(string $name) : void

    Set the event name

    Parameters
    NameTypeDescription
    $namestring
    methodpublicsetParam(string $name, mixed $value) : void

    Set a single parameter by key

    Parameters
    NameTypeDescription
    $namestring
    $valuemixed
    methodpublicsetParams(string $params) : void

    Set event parameters

    Parameters
    NameTypeDescription
    $paramsstring
    methodpublicsetTarget(null | string | object $target) : void

    Set the event target/context

    Parameters
    NameTypeDescription
    $targetnull | string | object
    methodpublicstopPropagation(bool $flag = true) : void

    Indicate whether or not the parent EventCollection should stop propagating events

    Parameters
    NameTypeDescription
    $flagbool
    Documentation was generated by phpDocumentor 2.2.0 .