Class: TDataList
Source Location: /Web/UI/WebControls/TDataList.php
Inherited Variables
|
Inherited Methods
|
Class Methods
method addParsedObject [line 208]
This method overrides the parent implementation so that no body content is added from template.
Overrides TControl::addParsedObject() (Adds the object parsed in template as a body of the component.)
Parameters:
method allowBody [line 217]
boolean allowBody(
mixed
$object)
|
|
Overrides parent implementation to disable body addition.
Overrides TControl::allowBody() (Determines whether the control can add the object as a body.)
Parameters:
constructor __construct [line 196]
method getAlternatingItemStyle [line 428]
string getAlternatingItemStyle(
)
|
|
method getAlternatingItemTemplate [line 307]
string getAlternatingItemTemplate(
)
|
|
method getAttributesToRender [line 867]
ArrayObject getAttributesToRender(
)
|
|
Returns the attributes to be rendered.
Overrides TWebControl::getAttributesToRender() (This overrides the parent implementation by rendering more TWebControl-specific attributes.)
method getDataKeys [line 693]
method getDataSource [line 564]
method getEditItem [line 278]
method getEditItemIndex [line 259]
integer getEditItemIndex(
)
|
|
method getEditItemStyle [line 445]
string getEditItemStyle(
)
|
|
method getEditItemTemplate [line 394]
string getEditItemTemplate(
)
|
|
method getFooterStyle [line 496]
method getFooterTemplate [line 342]
string getFooterTemplate(
)
|
|
method getHeaderStyle [line 479]
method getHeaderTemplate [line 324]
string getHeaderTemplate(
)
|
|
method getItemCount [line 594]
method getItems [line 586]
method getItemStyle [line 411]
method getItemTemplate [line 290]
string getItemTemplate(
)
|
|
method getRepeatColumns [line 602]
integer getRepeatColumns(
)
|
|
method getRepeatDirection [line 620]
string getRepeatDirection(
)
|
|
method getRepeatLayout [line 639]
string getRepeatLayout(
)
|
|
method getSelectedItem [line 247]
method getSelectedItemIndex [line 225]
integer getSelectedItemIndex(
)
|
|
method getSelectedItemStyle [line 462]
string getSelectedItemStyle(
)
|
|
method getSelectedItemTemplate [line 377]
string getSelectedItemTemplate(
)
|
|
method getSeparatorStyle [line 513]
string getSeparatorStyle(
)
|
|
method getSeparatorTemplate [line 360]
string getSeparatorTemplate(
)
|
|
method isShowFooter [line 547]
method isShowHeader [line 530]
method loadViewState [line 662]
void loadViewState(
array
$viewState)
|
|
Loads viewstate into this control and its children. This method is overriden to load the items data from view state. If the items data is not empty, it will be used to populate the data list (to restore the previous view).
Overrides TControl::loadViewState() (Loads viewstate into this component and its children.)
Parameters:
method onBubbleEvent [line 807]
Handles OnBubbleEvent. This method overrides parent's implementation to handle OnItemCommand event that is bubbled from TDataListItem child controls. This method should only be used by control developers.
Overrides TControl::onBubbleEvent() (This method responds to a bubbled event.)
Parameters:
method onDataBinding [line 714]
Parses and intantiates templates. This method is invoked when OnDataBinding event is raised. It parses and instantiates all assoicated templates for the data listing control and raises related events. This method should only used by control developers.
Overrides TComponent::onDataBinding() (This method is invoked when dataBind is invoked for the component.)
Parameters:
method onItemCommand [line 848]
Raises OnItemCommand and other related events. This method is invoked after a button control in a template raises OnCommand event. You may override this method to provide customized event handling. Be sure to call parent's implementation so that event handlers have chance to respond to the event. The TDataListItem control responsible for the event can be determined from the event parameter's item field. The initial sender of the OnCommand event is in source field. The command name and parameter are in name and parameter fields, respectively.
Parameters:
method onItemCreated [line 829]
Raises OnItemCreated event. This method is invoked after a data list item is created. You may override this method to provide customized event handling. Be sure to call parent's implementation so that event handlers have chance to respond to the event. The TDataListItem control responsible for the event can be determined from the event parameter's item field.
Parameters:
method render [line 903]
method saveViewState [line 678]
array|null saveViewState(
)
|
|
Returns the viewstate of this control and its children. This method is overriden to save the items data in view state.
Overrides TControl::saveViewState() (Returns the viewstate of this component and its children.)
method setAlternatingItemStyle [line 437]
void setAlternatingItemStyle(
string
$value)
|
|
Sets the style for each alternating item
Parameters:
method setAlternatingItemTemplate [line 316]
void setAlternatingItemTemplate(
string
$value)
|
|
Sets the alternative template string for the item
Parameters:
method setDataSource [line 573]
void setDataSource(
Iterator
$value)
|
|
Sets the data source.
Overrides TBaseDataList::setDataSource() (Sets the data source that populates the items of the data listing control.)
Parameters:
method setEditItemIndex [line 268]
void setEditItemIndex(
string
$value)
|
|
Sets the index of the edit item in Items array
Parameters:
method setEditItemStyle [line 454]
void setEditItemStyle(
string
$value)
|
|
Sets the style for edit item
Parameters:
method setEditItemTemplate [line 403]
void setEditItemTemplate(
string
$value)
|
|
Sets the edit item template string
Parameters:
method setFooterStyle [line 505]
void setFooterStyle(
string
$value)
|
|
Sets the style for footer
Parameters:
method setFooterTemplate [line 352]
void setFooterTemplate(
string
$value)
|
|
Sets the footer template. The template will be parsed immediately.
Parameters:
method setHeaderStyle [line 488]
void setHeaderStyle(
string
$value)
|
|
Sets the style for header
Parameters:
method setHeaderTemplate [line 334]
void setHeaderTemplate(
string
$value)
|
|
Sets the header template. The template will be parsed immediately.
Parameters:
method setItemStyle [line 420]
void setItemStyle(
string
$value)
|
|
Sets the style for each item
Parameters:
method setItemTemplate [line 299]
void setItemTemplate(
string
$value)
|
|
Sets the template string for the item
Parameters:
method setRepeatColumns [line 611]
void setRepeatColumns(
integer
$value)
|
|
Sets the number of columns that the list should be displayed with.
Parameters:
method setRepeatDirection [line 629]
void setRepeatDirection(
string
$value)
|
|
Sets the direction of traversing the list (Vertical, Horizontal)
Parameters:
method setRepeatLayout [line 648]
void setRepeatLayout(
string
$value)
|
|
Sets how the list should be displayed, using table or using line breaks (Table, Flow, Raw)
Parameters:
method setSelectedItemIndex [line 234]
void setSelectedItemIndex(
string
$value)
|
|
Sets the index of the selected item in Items array
Parameters:
method setSelectedItemStyle [line 471]
void setSelectedItemStyle(
string
$value)
|
|
Sets the style for selected item
Parameters:
method setSelectedItemTemplate [line 386]
void setSelectedItemTemplate(
string
$value)
|
|
Sets the selected item template string
Parameters:
method setSeparatorStyle [line 522]
void setSeparatorStyle(
string
$value)
|
|
Sets the style for separator
Parameters:
method setSeparatorTemplate [line 369]
void setSeparatorTemplate(
string
$value)
|
|
Sets the separator template string
Parameters:
method setShowFooter [line 556]
void setShowFooter(
boolean
$value)
|
|
Sets the value indicating whether to show footer
Parameters:
method setShowHeader [line 539]
void setShowHeader(
boolean
$value)
|
|
Sets the value indicating whether to show header
Parameters:
Class Constants
|
|