Class TPagedListFetchDataEventParameter
TPagedListFetchDataEventParameter class.
TPagedListFetchDataEventParameter is used as the parameter for TPagedList::onFetchData event. To obtain the new page index, use NewPageIndex. The Offset property refers to the index of the first item in the new page, while Limit specifies how many items are requested for the page. Newly fetched data should be saved in Data property.
Constructor Summary |
public |
Constructor.
|
Method Summary |
mixed
|
|
integer
|
|
integer
|
|
integer
|
|
void
|
|
Methods 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()
|
Constructor Details |
__construct
Constructor.
|
Method Details |
getData
Output |
mixed
| new page data |
Exception |
|
getLimit
public integer getLimit |
() |
Output |
integer
| number of items in the new page |
Exception |
|
getNewPageIndex
public integer getNewPageIndex |
() |
Output |
integer
| the zero-based index of the new page |
Exception |
|
getOffset
public integer getOffset |
() |
Output |
integer
| offset of the first item in the new page |
Exception |
|
setData
public void setData |
(mixed $value ) |
Input |
mixed | $value | new page data |
Output |
Exception |
|
|