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

Class: PhpExt_ComponentCollection

Source Location: /PhpExt/ComponentCollection.php

Class PhpExt_ComponentCollection

Class Overview

Provides functionality to manage a PhpExt_Component Collection

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

PhpExt_AbstractCollection
   |
   --PhpExt_ComponentCollection

Properties

Methods

[ Top ]
Property Summary
mixed   $_owner  

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

[ Top ]
Properties
mixed   $_owner [line 30]
API Tags:
Access:  protected


[ Top ]
Methods
Constructor __construct  [line 36]

  PhpExt_ComponentCollection __construct( $owner, [ $collection = array()]  )

Parameters:
   $owner: 
   $collection: 

API Tags:
Access:  public


Redefinition of:
PhpExt_AbstractCollection::__construct()

[ Top ]
add  [line 50]

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

Adds a PhpExt_Component to the Collection

Parameters:
PhpExt_Component   $object: 
string   $name: 

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


[ Top ]
getByIndex  [line 71]

  PhpExt_Component &getByIndex( int $index  )

Gets the Component in the specified index

Parameters:
int   $index: 

API Tags:
Access:  public


[ Top ]
getByName  [line 61]

  PhpExt_Component getByName( string $name  )

Gets the Component with the key specified by $name

Parameters:
string   $name: 

API Tags:
Access:  public


[ Top ]
getOwner  [line 32]

  void getOwner( )


API Tags:
Access:  public


[ Top ]

Documentation generated on Fri, 08 Aug 2008 15:51:55 -0500 by phpDocumentor 1.4.0