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

Class: PhpExt_Menu_BaseItemCollection

Source Location: /PhpExt/Menu/BaseItemCollection.php

Class PhpExt_Menu_BaseItemCollection

Class Overview

Provides functionality to manage a PhpExt_Menu_BaseItem Collection

Located in /PhpExt/Menu/BaseItemCollection.php [line 29]

PhpExt_AbstractCollection
   |
   --PhpExt_Menu_BaseItemCollection

Methods

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

[ Top ]
Methods
Constructor __construct  [line 32]

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

Parameters:
   $collection: 

API Tags:
Access:  public


Redefinition of:
PhpExt_AbstractCollection::__construct()

[ Top ]
add  [line 43]

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

Adds a PhpExt_Menu_BaseItem to the Collection

Parameters:
PhpExt_Menu_BaseItem   $object: 
string   $name: 

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


[ Top ]
getByIndex  [line 63]

  PhpExt_Menu_BaseItem &getByIndex( int $index  )

Gets the Component in the specified index

Parameters:
int   $index: 

API Tags:
Access:  public


[ Top ]
getByName  [line 53]

  PhpExt_Menu_BaseItem 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:19 -0500 by phpDocumentor 1.4.0