## Class TEmptyControlCollection

Description

TEmptyControlCollection class

TEmptyControlCollection implements an empty control list that prohibits adding controls to it. This is useful for controls that do not allow child controls.

- since: 3.0
- version: $Id: TControl.php 1532 2006-12-01 12:28:55Z xue $
- author: Qiang Xue <qiang.xue@gmail.com>

Located in /Web/UI/TControl.php (line 1808)

    TComponent
       |
       --TList
          |
          --TControlCollection
             |
             --TEmptyControlCollection

Method Summary
TEmptyControlCollection __construct (TControl $owner)
void insertAt (integer $index, mixed $item)
Methods
Constructor __construct (line 1814)

Constructor.

- access: public

TEmptyControlCollection __construct (TControl $owner)

- TControl $owner: the control that owns this collection.

Redefinition of:

TControlCollection::__construct()
  Constructor.

insertAt (line 1825)

Inserts an item at the specified position.

This overrides the parent implementation by ignoring new addition.

- 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::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:41:49 -0500 by phpDocumentor 1.3.0RC4