## Class TDataList

Description

Implements interfaces:

- INamingContainer
- IRepeatInfoUser

TDataList class

TDataList represents a data bound and updatable list control.

The HeaderTemplate property specifies the content template that will be displayed at the beginning, while FooterTemplate at the end. If present, these two templates will only be rendered when the data list is given non-empty data. In this case, for each data item the content defined by ItemTemplate will be generated and displayed once. If AlternatingItemTemplate is not empty, then the corresponding content will be displayed alternatively with that in ItemTemplate. The content in SeparatorTemplate, if not empty, will be displayed between items. Besides the above templates, there are two additional templates, EditItemTemplate and SelectedItemTemplate, which are used to display items that are in edit and selected mode, respectively.

All these templates are associated with styles that may be applied to the corresponding generated items. For example, AlternatingItemStyle will be applied to every alternating item in the data list.

Item styles are applied in a hierarchical way. Style in higher hierarchy will inherit from styles in lower hierarchy. Starting from the lowest hierarchy, the item styles include item's own style, ItemStyle, AlternatingItemStyle, SelectedItemStyle, and EditItemStyle. Therefore, if background color is set as red in ItemStyle, EditItemStyle will also have red background color unless it is set to a different value explicitly.

To change the status of a particular item, set SelectedItemIndex or EditItemIndex. The former will change the indicated item to selected mode, which will cause the item to use SelectedItemTemplate for presentation. The latter will change the indicated item to edit mode. Note, if an item is in edit mode, then selecting this item will have no effect.

The layout of the data items in the list is specified via RepeatLayout, which can be either 'Table' (default) or 'Flow'. A table layout uses HTML table cells to organize the data items while a flow layout uses line breaks to organize the data items. When the layout is using 'Table', CellPadding and CellSpacing can be used to adjust the cellpadding and cellpadding of the table, and Caption and CaptionAlign can be used to add a table caption with the specified alignment.

The number of columns used to display the data items is specified via RepeatColumns property, while the RepeatDirection governs the order of the items being rendered.

You can retrive the repeated contents by the Items property. The header and footer items can be accessed by Header and Footer properties, respectively.

When TDataList creates an item, it will raise an OnItemCreated so that you may customize the newly created item. When databinding is performed by TDataList, for each item once it has finished databinding, an OnItemDataBound event will be raised.

When an item is selected by an end-user, a OnSelectedIndexChanged event will be raised. Note, the selected index may not be actually changed. The event mainly informs the server side that the end-user has made a selection.

Each datalist item has a TDataListItem::getItemType which tells the position and state of the item in the datalist. An item in the header of the repeater is of type Header. A body item may be of either Item, AlternatingItem, SelectedItem or EditItem, depending whether the item index is odd or even, whether it is being selected or edited.

TDataList raises an OnItemCommand whenever a button control within some TDataList item raises a OnCommand event. If the command name is one of the followings: 'edit', 'update', 'select', 'delete', 'cancel' (case-insensitive), another event will also be raised. For example, if the command name is 'edit', then the new event is OnEditCommand.

Note, the data bound to the datalist are reset to null after databinding. There are several ways to access the data associated with a datalist item:

- Access the data in OnItemDataBound event
- Use DataKeys to obtain the data key associated with

the specified datalist item and use the key to fetch the corresponding data from some persistent storage such as DB.

- Save the data in viewstate and get it back during postbacks.

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

Located in /Web/UI/WebControls/TDataList.php (line 113)

    TComponent
       |
       --TApplicationComponent
          |
          --TControl
             |
             --TWebControl
                |
                --TDataBoundControl
                   |
                   --TBaseDataList
                      |
                      --TDataList

Class Constant Summary
CMD_CANCEL = 'Cancel'
CMD_DELETE = 'Delete'
CMD_EDIT = 'Edit'
CMD_SELECT = 'Select'
CMD_UPDATE = 'Update'
Method Summary
void applyItemStyles ()
boolean bubbleEvent (TControl $sender, TEventParameter $param)
TDataListItem createItem (integer $itemIndex, TListItemType $itemType)
TStyle generateItemStyle (string $itemType, integer $index)
TTableItemStyle getAlternatingItemStyle ()
ITemplate getAlternatingItemTemplate ()
string getCaption ()
TTableCaptionAlign getCaptionAlign ()
TDataListItem getEditItem ()
integer getEditItemIndex ()
TTableItemStyle getEditItemStyle ()
ITemplate getEditItemTemplate ()
ITemplate getEmptyTemplate ()
TDataListItem getFooter ()
TTableItemStyle getFooterStyle ()
ITemplate getFooterTemplate ()
boolean getHasFooter ()
boolean getHasHeader ()
boolean getHasSeparators ()
TDataListItem getHeader ()
TTableItemStyle getHeaderStyle ()
ITemplate getHeaderTemplate ()
integer getItemCount ()
TDataListItemCollection getItems ()
TTableItemStyle getItemStyle ()
ITemplate getItemTemplate ()
integer getRepeatColumns ()
TRepeatDirection getRepeatDirection ()
TRepeatInfo getRepeatInfo ()
TRepeatLayout getRepeatLayout ()
mixed getSelectedDataKey ()
TDataListItem getSelectedItem ()
integer getSelectedItemIndex ()
TTableItemStyle getSelectedItemStyle ()
ITemplate getSelectedItemTemplate ()
TTableItemStyle getSeparatorStyle ()
ITemplate getSeparatorTemplate ()
boolean getShowFooter ()
boolean getShowHeader ()
void initializeItem (TDataListItem $item)
void loadState ()
void onCancelCommand (TDataListCommandEventParameter $param)
void onDeleteCommand (TDataListCommandEventParameter $param)
void onEditCommand (TDataListCommandEventParameter $param)
void onItemCommand (TDataListCommandEventParameter $param)
void onItemCreated (TDataListItemEventParameter $param)
void onItemDataBound (TDataListItemEventParameter $param)
void onUpdateCommand (TDataListCommandEventParameter $param)
void performDataBinding (Traversable $data)
void render (THtmlWriter $writer)
void renderItem (THtmlWriter $writer, TRepeatInfo $repeatInfo, string $itemType, integer $index)
void reset ()
void restoreItemsFromViewState ()
void saveState ()
void setAlternatingItemTemplate (ITemplate $value)
void setCaption (string $value)
TTableCaptionAlign setCaptionAlign (mixed $value)
void setEditItemIndex (integer $value)
void setEditItemTemplate (ITemplate $value)
void setEmptyTemplate (ITemplate $value)
void setFooterTemplate (ITemplate $value)
void setHeaderTemplate (ITemplate $value)
void setItemTemplate (ITemplate $value)
void setRepeatColumns (integer $value)
void setRepeatDirection (TRepeatDirection $value)
void setRepeatLayout (TRepeatLayout $value)
void setSelectedItemIndex (integer $value)
void setSelectedItemTemplate (ITemplate $value)
void setSeparatorTemplate (ITemplate $value)
void setShowFooter (boolean $value)
void setShowHeader (boolean $value)
Methods
applyItemStyles (line 946)

Applies styles to items, header, footer and separators.

Item styles are applied in a hierarchical way. Style in higher hierarchy will inherit from styles in lower hierarchy. Starting from the lowest hierarchy, the item styles include item's own style, ItemStyle, AlternatingItemStyle, SelectedItemStyle, and EditItemStyle. Therefore, if background color is set as red in ItemStyle, EditItemStyle will also have red background color unless it is set to a different value explicitly.

- access: protected

void applyItemStyles ()
bubbleEvent (line 684)

This method overrides parent's implementation to handle onItemCommand event which is bubbled from TDataListItem child controls.

If the event parameter is TDataListCommandEventParameter and the command name is a recognized one, which includes 'select', 'edit', 'delete', 'update', and 'cancel' (case-insensitive), then a corresponding command event is also raised (such as OnEditCommand). This method should only be used by control developers.

- return: whether the event bubbling should stop here.
- access: public

boolean bubbleEvent (TControl $sender, TEventParameter $param)

- TControl $sender: the sender of the event
- TEventParameter $param: event parameter

Redefinition of:

TControl::bubbleEvent()
  This method responds to a bubbled event.

createItem (line 930)

Creates a DataList item instance based on the item type and index.

- return: created data list item
- access: protected

TDataListItem createItem (integer $itemIndex, TListItemType $itemType)

- integer $itemIndex: zero-based item index
- TListItemType $itemType: item type

generateItemStyle (line 842)

Returns a style used for rendering items.

This method is required by IRepeatInfoUser interface.

- return: item style
- access: public

TStyle generateItemStyle (string $itemType, integer $index)

- string $itemType: item type (Header,Footer,Item,AlternatingItem,SelectedItem,EditItem,Separator,Pager)
- integer $index: index of the item being rendered

getAlternatingItemStyle (line 222)

- return: the style for each alternating item
- access: public

TTableItemStyle getAlternatingItemStyle ()
getAlternatingItemTemplate (line 202)

- return: the template for each alternating item
- access: public

ITemplate getAlternatingItemTemplate ()
getCaption (line 594)

- return: caption of the table layout
- access: public

string getCaption ()
getCaptionAlign (line 610)

- return: alignment of the caption of the table layout. Defaults to TTableCaptionAlign::NotSet.
- access: public

TTableCaptionAlign getCaptionAlign ()
getEditItem (line 536)

- return: the edit item
- access: public

TDataListItem getEditItem ()
getEditItemIndex (line 506)

- return: the zero-based index of the edit item in Items. A value -1 means no item is in edit mode.
- access: public

integer getEditItemIndex ()
getEditItemStyle (line 288)

- return: the style for edit item
- access: public

TTableItemStyle getEditItemStyle ()
getEditItemTemplate (line 268)

- return: the edit item template
- access: public

ITemplate getEditItemTemplate ()
getEmptyTemplate (line 383)

- return: the template applied when no data is bound to the datalist
- access: public

ITemplate getEmptyTemplate ()
getFooter (line 375)

- return: the footer item
- access: public

TDataListItem getFooter ()
getFooterStyle (line 362)

- return: the style for footer
- access: public

TTableItemStyle getFooterStyle ()
getFooterTemplate (line 342)

- return: the footer template
- access: public

ITemplate getFooterTemplate ()
getHasFooter (line 820)

Returns a value indicating whether this control contains footer item.

This method is required by IRepeatInfoUser interface.

- return: always false.
- access: public

boolean getHasFooter ()
getHasHeader (line 810)

Returns a value indicating whether this control contains header item.

This method is required by IRepeatInfoUser interface.

- return: always false.
- access: public

boolean getHasHeader ()
getHasSeparators (line 830)

Returns a value indicating whether this control contains separator items.

This method is required by IRepeatInfoUser interface.

- return: always false.
- access: public

boolean getHasSeparators ()
getHeader (line 334)

- return: the header item
- access: public

TDataListItem getHeader ()
getHeaderStyle (line 321)

- return: the style for header
- access: public

TTableItemStyle getHeaderStyle ()
getHeaderTemplate (line 301)

- return: the header template
- access: public

ITemplate getHeaderTemplate ()
getItemCount (line 161)

- return: number of items
- access: public

integer getItemCount ()
getItems (line 151)

- return: item list
- access: public

TDataListItemCollection getItems ()
getItemStyle (line 189)

- return: the style for item
- access: public

TTableItemStyle getItemStyle ()
getItemTemplate (line 169)

- return: the template for item
- access: public

ITemplate getItemTemplate ()
getRepeatColumns (line 626)

- return: the number of columns that the list should be displayed with. Defaults to 0 meaning not set.
- access: public

integer getRepeatColumns ()
getRepeatDirection (line 642)

- return: the direction of traversing the list, defaults to TRepeatDirection::Vertical
- access: public

TRepeatDirection getRepeatDirection ()
getRepeatInfo (line 581)

- return: repeat information (primarily used by control developers)
- access: protected

TRepeatInfo getRepeatInfo ()
getRepeatLayout (line 658)

- return: how the list should be displayed, using table or using line breaks. Defaults to TRepeatLayout::Table.
- access: public

TRepeatLayout getRepeatLayout ()
getSelectedDataKey (line 490)

- return: the key value of the currently selected item
- access: public
- throws: TInvalidOperationException if DataKeyField is empty.

mixed getSelectedDataKey ()
getSelectedItem (line 476)

- return: the selected item, null if no item is selected.
- access: public

TDataListItem getSelectedItem ()
getSelectedItemIndex (line 437)

- return: the zero-based index of the selected item in Items. A value -1 means no item selected.
- access: public

integer getSelectedItemIndex ()
getSelectedItemStyle (line 255)

- return: the style for selected item
- access: public

TTableItemStyle getSelectedItemStyle ()
getSelectedItemTemplate (line 235)

- return: the selected item template
- access: public

ITemplate getSelectedItemTemplate ()
getSeparatorStyle (line 423)

- return: the style for separator
- access: public

TTableItemStyle getSeparatorStyle ()
getSeparatorTemplate (line 403)

- return: the separator template
- access: public

ITemplate getSeparatorTemplate ()
getShowFooter (line 565)

- return: whether the footer should be shown. Defaults to true.
- access: public

boolean getShowFooter ()
getShowHeader (line 549)

- return: whether the header should be shown. Defaults to true.
- access: public

boolean getShowHeader ()
initializeItem (line 1040)

Initializes a data list item.

The item is added as a child of the data list and the corresponding template is instantiated within the item.

- access: protected

void initializeItem (TDataListItem $item)

- TDataListItem $item: item to be initialized

loadState (line 1100)

Loads item count information from viewstate.

This method is invoked right after control state is loaded.

- access: public

void loadState ()

Redefinition of:

TControl::loadState()
  This method is invoked right after the control has loaded its state.

onCancelCommand (line 800)

Raises OnCancelCommand event.

This method is invoked when a child control of the data list raises an Command event and the command name is 'cancel' (case-insensitive).

- access: public

void onCancelCommand (TDataListCommandEventParameter $param)

- TDataListCommandEventParameter $param: event parameter

onDeleteCommand (line 778)

Raises OnDeleteCommand event.

This method is invoked when a child control of the data list raises an Command event and the command name is 'delete' (case-insensitive).

- access: public

void onDeleteCommand (TDataListCommandEventParameter $param)

- TDataListCommandEventParameter $param: event parameter

onEditCommand (line 767)

Raises OnEditCommand event.

This method is invoked when a child control of the data list raises an Command event and the command name is 'edit' (case-insensitive).

- access: public

void onEditCommand (TDataListCommandEventParameter $param)

- TDataListCommandEventParameter $param: event parameter

onItemCommand (line 756)

Raises OnItemCommand event.

This method is invoked when a child control of the data list raises an Command event.

- access: public

void onItemCommand (TDataListCommandEventParameter $param)

- TDataListCommandEventParameter $param: event parameter

onItemCreated (line 731)

Raises OnItemCreated event.

This method is invoked after a data list item is created and instantiated with template, but before added to the page hierarchy. The TDataListItem control responsible for the event can be determined from the event parameter. If you override this method, be sure to call parent's implementation so that event handlers have chance to respond to the event.

- access: public

void onItemCreated (TDataListItemEventParameter $param)

- TDataListItemEventParameter $param: event parameter

onItemDataBound (line 745)

Raises OnItemDataBound event.

This method is invoked right after an item is data bound. The TDataListItem control responsible for the event can be determined from the event parameter. If you override this method, be sure to call parent's implementation so that event handlers have chance to respond to the event.

- access: public

void onItemDataBound (TDataListItemEventParameter $param)

- TDataListItemEventParameter $param: event parameter

onUpdateCommand (line 789)

Raises OnUpdateCommand event.

This method is invoked when a child control of the data list raises an Command event and the command name is 'update' (case-insensitive).

- access: public

void onUpdateCommand (TDataListCommandEventParameter $param)

- TDataListCommandEventParameter $param: event parameter

performDataBinding (line 1159)

Performs databinding to populate data list items from data source.

This method is invoked by dataBind(). You may override this function to provide your own way of data population.

- access: protected

void performDataBinding (Traversable $data)

- Traversable $data: the data

Redefinition of:

TDataBoundControl::performDataBinding()

render (line 1204)

Renders the data list control.

This method overrides the parent implementation.

- access: public

void render (THtmlWriter $writer)

- THtmlWriter $writer: writer for rendering purpose.

Redefinition of:

TWebControl::render()
  Renders the control.

renderItem (line 858)

Renders an item in the list.

This method is required by IRepeatInfoUser interface.

- access: public

void renderItem (THtmlWriter $writer, TRepeatInfo $repeatInfo, string $itemType, integer $index)

- THtmlWriter $writer: writer for rendering purpose
- TRepeatInfo $repeatInfo: repeat information
- string $itemType: item type (Header,Footer,Item,AlternatingItem,SelectedItem,EditItem,Separator,Pager)
- integer $index: zero-based index of the item in the item list

reset (line 1111)

Clears up all items in the data list.

- access: public

void reset ()
restoreItemsFromViewState (line 1122)

Creates data list items based on viewstate information.

- access: protected

void restoreItemsFromViewState ()
saveState (line 1087)

Saves item count in viewstate.

This method is invoked right before control state is to be saved.

- access: public

void saveState ()

Redefinition of:

TControl::saveState()
  This method is invoked when control state is to be saved.

setAlternatingItemTemplate (line 211)

- access: public
- throws: TInvalidDataTypeException if the input is not an ITemplate or not null.

void setAlternatingItemTemplate (ITemplate $value)

- ITemplate $value: the template for each alternating item

setCaption (line 602)

- access: public

void setCaption (string $value)

- string $value: caption of the table layout

setCaptionAlign (line 618)

- return: alignment of the caption of the table layout.
- access: public

TTableCaptionAlign setCaptionAlign (mixed $value)
setEditItemIndex (line 517)

Edits an item by its index in getItems.

Previously editting item will change to normal item state. If the index is less than 0, any existing edit item will be cleared up.

- access: public

void setEditItemIndex (integer $value)

- integer $value: the edit item index

setEditItemTemplate (line 277)

- access: public
- throws: TInvalidDataTypeException if the input is not an ITemplate or not null.

void setEditItemTemplate (ITemplate $value)

- ITemplate $value: the edit item template

setEmptyTemplate (line 392)

- access: public
- throws: TInvalidDataTypeException if the input is not an ITemplate or not null.

void setEmptyTemplate (ITemplate $value)

- ITemplate $value: the template applied when no data is bound to the datalist

setFooterTemplate (line 351)

- access: public
- throws: TInvalidDataTypeException if the input is not an ITemplate or not null.

void setFooterTemplate (ITemplate $value)

- ITemplate $value: the footer template

setHeaderTemplate (line 310)

- access: public
- throws: TInvalidDataTypeException if the input is not an ITemplate or not null.

void setHeaderTemplate (ITemplate $value)

- ITemplate $value: the header template

setItemTemplate (line 178)

- access: public
- throws: TInvalidDataTypeException if the input is not an ITemplate or not null.

void setItemTemplate (ITemplate $value)

- ITemplate $value: the template for item

setRepeatColumns (line 634)

- access: public

void setRepeatColumns (integer $value)

- integer $value: the number of columns that the list should be displayed with.

setRepeatDirection (line 650)

- access: public

void setRepeatDirection (TRepeatDirection $value)

- TRepeatDirection $value: the direction of traversing the list

setRepeatLayout (line 666)

- access: public

void setRepeatLayout (TRepeatLayout $value)

- TRepeatLayout $value: how the list should be displayed, using table or using line breaks

setSelectedItemIndex (line 449)

Selects an item by its index in getItems.

Previously selected item will be un-selected. If the item to be selected is already in edit mode, it will remain in edit mode. If the index is less than 0, any existing selection will be cleared up.

- access: public

void setSelectedItemIndex (integer $value)

- integer $value: the selected item index

setSelectedItemTemplate (line 244)

- access: public
- throws: TInvalidDataTypeException if the input is not an ITemplate or not null.

void setSelectedItemTemplate (ITemplate $value)

- ITemplate $value: the selected item template

setSeparatorTemplate (line 412)

- access: public
- throws: TInvalidDataTypeException if the input is not an ITemplate or not null.

void setSeparatorTemplate (ITemplate $value)

- ITemplate $value: the separator template

setShowFooter (line 573)

- access: public

void setShowFooter (boolean $value)

- boolean $value: whether to show footer

setShowHeader (line 557)

- access: public

void setShowHeader (boolean $value)

- boolean $value: whether to show header

#### Inherited Methods

Inherited From TBaseDataList

> TBaseDataList::createStyle()
> TBaseDataList::getCellPadding()
> TBaseDataList::getCellSpacing()
> TBaseDataList::getDataFieldValue()
> TBaseDataList::getDataKeyField()
> TBaseDataList::getDataKeys()
> TBaseDataList::getGridLines()
> TBaseDataList::getHorizontalAlign()
> TBaseDataList::onSelectedIndexChanged()
> TBaseDataList::setCellPadding()
> TBaseDataList::setCellSpacing()
> TBaseDataList::setDataKeyField()
> TBaseDataList::setGridLines()
> TBaseDataList::setHorizontalAlign()

Inherited From TDataBoundControl

> TDataBoundControl::createPagedDataSource()
> TDataBoundControl::dataBind()
> TDataBoundControl::dataSourceViewChanged()
> TDataBoundControl::determineDataSource()
> TDataBoundControl::ensureDataBound()
> TDataBoundControl::getAllowCustomPaging()
> TDataBoundControl::getAllowPaging()
> TDataBoundControl::getCurrentPageIndex()
> TDataBoundControl::getData()
> TDataBoundControl::getDataMember()
> TDataBoundControl::getDataSource()
> TDataBoundControl::getDataSourceID()
> TDataBoundControl::getDataSourceView()
> TDataBoundControl::getInitialized()
> TDataBoundControl::getIsDataBound()
> TDataBoundControl::getPageCount()
> TDataBoundControl::getPageSize()
> TDataBoundControl::getRequiresDataBinding()
> TDataBoundControl::getSelectParameters()
> TDataBoundControl::getUsingDataSourceID()
> TDataBoundControl::getVirtualItemCount()
> TDataBoundControl::onDataBound()
> TDataBoundControl::onDataSourceChanged()
> TDataBoundControl::onInit()
> TDataBoundControl::onPreRender()
> TDataBoundControl::pagePreLoad()
> TDataBoundControl::performDataBinding()
> TDataBoundControl::setAllowCustomPaging()
> TDataBoundControl::setAllowPaging()
> TDataBoundControl::setCurrentPageIndex()
> TDataBoundControl::setDataMember()
> TDataBoundControl::setDataSource()
> TDataBoundControl::setDataSourceID()
> TDataBoundControl::setInitialized()
> TDataBoundControl::setIsDataBound()
> TDataBoundControl::setPageSize()
> TDataBoundControl::setRequiresDataBinding()
> TDataBoundControl::setVirtualItemCount()
> TDataBoundControl::validateDataSource()

Inherited From TWebControl

> TWebControl::addAttributesToRender()
> TWebControl::copyBaseAttributes()
> TWebControl::createStyle()
> TWebControl::getAccessKey()
> TWebControl::getBackColor()
> TWebControl::getBorderColor()
> TWebControl::getBorderStyle()
> TWebControl::getBorderWidth()
> TWebControl::getCssClass()
> TWebControl::getFont()
> TWebControl::getForeColor()
> TWebControl::getHasStyle()
> TWebControl::getHeight()
> TWebControl::getStyle()
> TWebControl::getTabIndex()
> TWebControl::getTagName()
> TWebControl::getToolTip()
> TWebControl::getWidth()
> TWebControl::render()
> TWebControl::renderBeginTag()
> TWebControl::renderContents()
> TWebControl::renderEndTag()
> TWebControl::setAccessKey()
> TWebControl::setBackColor()
> TWebControl::setBorderColor()
> TWebControl::setBorderStyle()
> TWebControl::setBorderWidth()
> TWebControl::setCssClass()
> TWebControl::setForeColor()
> TWebControl::setHeight()
> TWebControl::setStyle()
> TWebControl::setTabIndex()
> TWebControl::setToolTip()
> TWebControl::setWidth()

Inherited From TControl

> TControl::__construct()
> TControl::addedControl()
> TControl::addParsedObject()
> TControl::addToPostDataLoader()
> TControl::applyStyleSheetSkin()
> TControl::autoBindProperty()
> TControl::autoDataBindProperties()
> TControl::bindProperty()
> TControl::broadcastEvent()
> TControl::bubbleEvent()
> TControl::clearChildState()
> TControl::clearControlState()
> TControl::clearNamingContainer()
> TControl::clearViewState()
> TControl::createChildControls()
> TControl::createControlCollection()
> TControl::dataBind()
> TControl::dataBindChildren()
> TControl::dataBindProperties()
> TControl::ensureChildControls()
> TControl::findControl()
> TControl::findControlsByID()
> TControl::findControlsByType()
> TControl::focus()
> TControl::getAdapter()
> TControl::getAllowChildControls()
> TControl::getAttribute()
> TControl::getAttributes()
> TControl::getChildControlsCreated()
> TControl::getClientID()
> TControl::getControls()
> TControl::getControlStage()
> TControl::getControlState()
> TControl::getCustomData()
> TControl::getEnabled()
> TControl::getEnableTheming()
> TControl::getEnableViewState()
> TControl::getHasAdapter()
> TControl::getHasAttributes()
> TControl::getHasChildInitialized()
> TControl::getHasControls()
> TControl::getHasInitialized()
> TControl::getHasLoaded()
> TControl::getHasLoadedPostData()
> TControl::getHasPreRendered()
> TControl::getID()
> TControl::getNamingContainer()
> TControl::getPage()
> TControl::getParent()
> TControl::getRegisteredObject()
> TControl::getSkinID()
> TControl::getSourceTemplateControl()
> TControl::getTemplateControl()
> TControl::getUniqueID()
> TControl::getViewState()
> TControl::getVisible()
> TControl::hasAttribute()
> TControl::initRecursive()
> TControl::isDescendentOf()
> TControl::isObjectRegistered()
> TControl::loadRecursive()
> TControl::loadState()
> TControl::loadStateRecursive()
> TControl::onDataBinding()
> TControl::onInit()
> TControl::onLoad()
> TControl::onPreRender()
> TControl::onUnload()
> TControl::preRenderRecursive()
> TControl::raiseBubbleEvent()
> TControl::registerObject()
> TControl::removeAttribute()
> TControl::removedControl()
> TControl::render()
> TControl::renderChildren()
> TControl::renderControl()
> TControl::saveState()
> TControl::saveStateRecursive()
> TControl::setAdapter()
> TControl::setAttribute()
> TControl::setChildControlsCreated()
> TControl::setControlStage()
> TControl::setControlState()
> TControl::setCustomData()
> TControl::setEnabled()
> TControl::setEnableTheming()
> TControl::setEnableViewState()
> TControl::setID()
> TControl::setPage()
> TControl::setSkinID()
> TControl::setTemplateControl()
> TControl::setViewState()
> TControl::setVisible()
> TControl::traverseChildControls()
> TControl::unbindProperty()
> TControl::unloadRecursive()
> TControl::unregisterObject()
> TControl::__get()

Inherited From TApplicationComponent

> TApplicationComponent::getApplication()
> TApplicationComponent::getRequest()
> TApplicationComponent::getResponse()
> TApplicationComponent::getService()
> TApplicationComponent::getSession()
> TApplicationComponent::getUser()
> TApplicationComponent::publishAsset()
> TApplicationComponent::publishFilePath()

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()

Class Constants
CMD_CANCEL = 'Cancel' (line 122)
CMD_DELETE = 'Delete' (line 121)
CMD_EDIT = 'Edit' (line 119)
CMD_SELECT = 'Select' (line 118)

Command name that TDataList understands.

CMD_UPDATE = 'Update' (line 120)

#### Inherited Constants

Inherited from TControl

> TControl::AUTOMATIC_ID_PREFIX
> TControl::CLIENT_ID_SEPARATOR
> TControl::CS_CHILD_INITIALIZED
> TControl::CS_CONSTRUCTED
> TControl::CS_INITIALIZED
> TControl::CS_LOADED
> TControl::CS_PRERENDERED
> TControl::CS_STATE_LOADED
> TControl::ID_FORMAT
> TControl::ID_SEPARATOR
> TControl::IS_CHILD_CREATED
> TControl::IS_CREATING_CHILD
> TControl::IS_DISABLE_THEMING
> TControl::IS_DISABLE_VIEWSTATE
> TControl::IS_ID_SET
> TControl::IS_SKIN_APPLIED
> TControl::IS_STYLESHEET_APPLIED
> TControl::RF_ADAPTER
> TControl::RF_AUTO_BINDINGS
> TControl::RF_CHILD_STATE
> TControl::RF_CONTROLS
> TControl::RF_CONTROLSTATE
> TControl::RF_DATA_BINDINGS
> TControl::RF_EVENTS
> TControl::RF_NAMED_CONTROLS
> TControl::RF_NAMED_CONTROLS_ID
> TControl::RF_NAMED_OBJECTS
> TControl::RF_SKIN_ID

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