Class TDataGridColumnCollection

Description

TDataGridColumnCollection class.

TDataGridColumnCollection represents a collection of data grid columns.

  • author: Qiang Xue <qiang.xue@gmail.com>
  • version: $Id: TDataGrid.php 3057 2011-11-09 12:35:57Z ctrlaltca@gmail.com $
  • since: 3.0

Located in /Web/UI/WebControls/TDataGrid.php (line 2153)

TComponent
   |
   --TList
      |
      --TDataGridColumnCollection
Method Summary
TDataGridColumnCollection __construct (TDataGrid $owner)
void insertAt (integer $index, mixed $item)
Methods
Constructor __construct (line 2165)

Constructor.

  • access: public
TDataGridColumnCollection __construct (TDataGrid $owner)
  • TDataGrid $owner: the control that owns this collection.

Redefinition of:
TList::__construct()
Constructor.
getOwner (line 2173)
  • return: the control that owns this collection.
  • access: protected
TDataGrid getOwner ()
insertAt (line 2185)

Inserts an item at the specified position.

This overrides the parent implementation by inserting only TDataGridColumn.

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

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

Inherited Methods

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:37:46 +0200 by phpDocumentor 1.4.3