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

Class: PhpExt_ButtonCollection

Source Location: /PhpExt/ButtonCollection.php

Class PhpExt_ButtonCollection

Class Overview

Provides functionality to manage a PhpExt_Component Collection

Located in /PhpExt/ButtonCollection.php [line 24]

PhpExt_AbstractCollection
   |
   --PhpExt_ButtonCollection

Methods

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

[ Top ]
Methods
Constructor __construct  [line 27]

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

Parameters:
   $collection: 

API Tags:
Access:  public


Redefinition of:
PhpExt_AbstractCollection::__construct()

[ Top ]
add  [line 39]

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

Adds a PhpExt_Button to the Collection

Parameters:
PhpExt_Button   $object: 
string   $name: 

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


[ Top ]
getByIndex  [line 59]

  PhpExt_Button &getByIndex( int $index  )

Gets the Component in the specified index

Parameters:
int   $index: 

API Tags:
Access:  public


[ Top ]
getByName  [line 49]

  PhpExt_Button getByName( string $name  )

Gets the Component with the key specified by $name

Parameters:
string   $name: 

API Tags:
Access:  public


[ Top ]

Documentation generated on Fri, 08 Aug 2008 15:50:49 -0500 by phpDocumentor 1.4.0