PhpExt : [ class tree ] [ index ] [ all elements ]

Class: PhpExt_ListenerCollection

Source Location: /PhpExt/ListenerCollection.php

Class PhpExt_ListenerCollection

Class Overview

Provides functionality to manage a PhpExt_Listener Collection

Located in /PhpExt/ListenerCollection.php [line 28]

PhpExt_AbstractCollection
   |
   --PhpExt_ListenerCollection

Methods

[ Top ]
Method Summary
PhpExt_ListenerCollection   __construct()  
int   add()   Adds a PhpExt_Listener to the Collection
PhpExt_Listener   &getByIndex()   Gets the Component in the specified index
PhpExt_Listener   getByName()   Gets the Component with the key specified by $name
void   getJavascript()  

[ Top ]
Methods
Constructor __construct  [line 31]

  PhpExt_ListenerCollection __construct( [ $collection = array()]  )

Parameters:
   $collection: 

API Tags:
Access:  public


Redefinition of:
PhpExt_AbstractCollection::__construct()

[ Top ]
add  [line 42]

  int add( PhpExt_Listener $object, string $eventName  )

Adds a PhpExt_Listener to the Collection

Parameters:
PhpExt_Listener   $object: 
string   $eventName:  The event name linked to the listener

API Tags:
Return:  the index of the new element
Access:  public


[ Top ]
getByIndex  [line 62]

  PhpExt_Listener &getByIndex( int $index  )

Gets the Component in the specified index

Parameters:
int   $index: 

API Tags:
Access:  public


[ Top ]
getByName  [line 52]

  PhpExt_Listener getByName( string $eventName  )

Gets the Component with the key specified by $name

Parameters:
string   $eventName:  The event name linked to the listener

API Tags:
Access:  public


[ Top ]
getJavascript  [line 66]

  void getJavascript( )


API Tags:
Access:  public


Redefinition of:
PhpExt_AbstractCollection::getJavascript()

[ Top ]

Documentation generated on Fri, 08 Aug 2008 15:56:29 -0500 by phpDocumentor 1.4.0