## Class TViewCollection

Description

TViewCollection class.

TViewCollection represents a collection that only takes TView instances as collection elements.

- since: 3.0
- version: $Id: TMultiView.php 1398 2006-09-08 19:31:03Z xue $
- author: Qiang Xue <qiang.xue@gmail.com>

Located in /Web/UI/WebControls/TMultiView.php (line 279)

    TComponent
       |
       --TList
          |
          --TControlCollection
             |
             --TViewCollection

Method Summary
void insertAt (integer $index, mixed $item)
Methods
insertAt (line 289)

Inserts an item at the specified position.

This overrides the parent implementation by ensuring only TView controls be added into the collection.

- access: public
- throws: TInvalidDataTypeException if the item to be inserted is neither a string nor a TControl.

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::insertAt()
> 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::__get()
> TComponent::__set()

Documentation generated on Sun, 14 Jan 2007 21:43:33 -0500 by phpDocumentor 1.3.0RC4