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

Class: PhpExt_ObjectCollection

Source Location: /PhpExt/ObjectCollection.php

Class PhpExt_ObjectCollection

Method Summary
PhpExt_ObjectCollection   __construct()  
int   add()   Adds a PhpExt_Object to the Collection
PhpExt_Object   &getByIndex()   Gets the Object in the specified index
PhpExt_Object   getByName()   Gets the Object with the key specified by $name

[ Top ]
Methods
Constructor __construct  [line 31]

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

Parameters:
   $collection: 

API Tags:
Access:  public


Redefinition of:
PhpExt_AbstractCollection::__construct()

[ Top ]
add  [line 42]

  int add( PhpExt_Object $object, [string $name = null]  )

Adds a PhpExt_Object to the Collection

Parameters:
PhpExt_Object   $object: 
string   $name: 

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


[ Top ]
getByIndex  [line 62]

  PhpExt_Object &getByIndex( int $index  )

Gets the Object in the specified index

Parameters:
int   $index: 

API Tags:
Access:  public


[ Top ]
getByName  [line 52]

  PhpExt_Object getByName( string $name  )

Gets the Object with the key specified by $name

Parameters:
string   $name: 

API Tags:
Access:  public


[ Top ]

Documentation generated on Fri, 08 Aug 2008 15:57:27 -0500 by phpDocumentor 1.4.0