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

Class: PhpExt_Toolbar_IToolbarItemCollection

Source Location: /PhpExt/Toolbar/IToolbarItemCollection.php

Class PhpExt_Toolbar_IToolbarItemCollection

Class Overview

Provides functionality to manage a PhpExt_Toolbar_IToolbarItem Collection

Located in /PhpExt/Toolbar/IToolbarItemCollection.php [line 25]

PhpExt_AbstractCollection
   |
   --PhpExt_Toolbar_IToolbarItemCollection

Methods

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

[ Top ]
Methods
Constructor __construct  [line 28]

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

Parameters:
   $collection: 

API Tags:
Access:  public


Redefinition of:
PhpExt_AbstractCollection::__construct()

[ Top ]
add  [line 39]

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

Adds a PhpExt_Toolbar_IToolbarItem to the Collection

Parameters:
PhpExt_Toolbar_IToolbarItem   $object: 
string   $name: 

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


[ Top ]
getByIndex  [line 59]

  PhpExt_Toolbar_IToolbarItem &getByIndex( int $index  )

Gets the Object in the specified index

Parameters:
int   $index: 

API Tags:
Access:  public


[ Top ]
getByName  [line 49]

  PhpExt_Toolbar_IToolbarItem 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:55:46 -0500 by phpDocumentor 1.4.0