Class TAccordionViewCollection

Description

Class TAccordionViewCollection.

TAccordionViewCollection is a collection of TAccordionView to be used inside a TAccordion.

  • author: Gabor Berczi, DevWorx Hungary <gabor.berczi@devworx.hu>
  • version: $Id: TAccordion.php 2915 2011-05-15 16:26:11Z ctrlaltca@gmail.com $
  • since: 3.2

Located in /Web/UI/WebControls/TAccordion.php (line 711)

TComponent
   |
   --TList
      |
      --TControlCollection
         |
         --TAccordionViewCollection
Method Summary
integer findIndexByID (string $id)
void insertAt (integer $index, mixed $item)
Methods
findIndexByID (line 733)

Finds the index of the accordion view whose ID is the same as the one being looked for.

  • return: the index of the accordion view found, -1 if not found.
  • access: public
integer findIndexByID (string $id)
  • string $id: the explicit ID of the accordion view to be looked for
insertAt (line 720)

Inserts an item at the specified position.

This overrides the parent implementation by performing sanity check on the type of new item.

  • throws: TInvalidDataTypeException if the item to be inserted is not a TAccordionView object.
  • access: public
void insertAt (integer $index, mixed $item)
  • integer $index: the speicified position.
  • mixed $item: new item

Redefinition of:
TControlCollection::insertAt()
Inserts an item at the specified position.

Inherited Methods

Inherited From TControlCollection

TControlCollection::__construct()
TControlCollection::clear()
TControlCollection::getOwner()
TControlCollection::insertAt()
TControlCollection::removeAt()

Inherited From TList

TList::__construct()
TList::add()
TList::clear()
TList::contains()
TList::copyFrom()
TList::count()
TList::getCount()
TList::getIterator()
TList::getReadOnly()
TList::indexOf()
TList::insertAfter()
TList::insertAt()
TList::insertBefore()
TList::itemAt()
TList::mergeWith()
TList::offsetExists()
TList::offsetGet()
TList::offsetSet()
TList::offsetUnset()
TList::remove()
TList::removeAt()
TList::setReadOnly()
TList::toArray()

Inherited From TComponent

TComponent::addParsedObject()
TComponent::attachEventHandler()
TComponent::canGetProperty()
TComponent::canSetProperty()
TComponent::createdOnTemplate()
TComponent::detachEventHandler()
TComponent::evaluateExpression()
TComponent::evaluateStatements()
TComponent::getEventHandlers()
TComponent::getSubProperty()
TComponent::hasEvent()
TComponent::hasEventHandler()
TComponent::hasProperty()
TComponent::raiseEvent()
TComponent::setSubProperty()
TComponent::__call()
TComponent::__get()
TComponent::__set()
TComponent::__sleep()
TComponent::__wakeup()

Documentation generated on Mon, 25 Jun 2012 14:36:50 +0200 by phpDocumentor 1.4.3