TSqlMapPagedList implements a list with paging functionality that retrieves data from a SqlMap statement.
The maximum number of records fetched is 3 times the page size. It fetches the current, the previous and the next page at a time. This allows the paged list to determine if the page is a the begin, the middle or the end of the list.
The paged list does not need to know about the total number of records.
Located in /Data/SqlMap/DataMapper/TSqlMapPagedList.php (line 30)
TComponent | --TList | --TPagedList | --TSqlMapPagedList
Create a new SqlMap paged list.
Fetch data by executing the SqlMap statement.
Calculate the data fetch offsets and limits.
Initialize the paged list.
Switches to the next page.
Populate the list with the fetched data.
Switches to the previous page.
Inherited From TPagedList
TPagedList::__construct()
TPagedList::getCount()
TPagedList::getCurrentPageIndex()
TPagedList::getCustomPaging()
TPagedList::getIsFirstPage()
TPagedList::getIsLastPage()
TPagedList::getIterator()
TPagedList::getPageCount()
TPagedList::getPageSize()
TPagedList::getVirtualCount()
TPagedList::gotoPage()
TPagedList::indexOf()
TPagedList::itemAt()
TPagedList::nextPage()
TPagedList::offsetExists()
TPagedList::offsetGet()
TPagedList::onFetchData()
TPagedList::onPageIndexChanged()
TPagedList::previousPage()
TPagedList::setCurrentPageIndex()
TPagedList::setCustomPaging()
TPagedList::setPageSize()
TPagedList::setVirtualCount()
TPagedList::toArray()
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 Mon, 21 Apr 2008 11:36:18 -0400 by phpDocumentor 1.3.0RC4