Quick search:

PntObjectIndexPage
PntErrorPage
PntHorSelReportPage
PntIndexPage
PntObjectDetailsPage
PntObjectEditDetailsPage
PntObjectMtoNPropertyPage
PntObjectMtoNSearchPage
PntObjectPropertyPage
PntObjectReportPage
PntObjectSearchPage
PntObjectSelectionDetailsReportPage
PntObjectSelectionReportPage
PntObjectVerifyDeletePage
PntPage
getRequestedObject
ajaxPrintUpdates
getAllItemsSize
getButtonsList
getDeleteConfirmationQuestion
getFilterPartString
getGlobalCombiFilter
getGlobalFilter
getInformation
getInitItemTable
getItemTable
getItemsInfo
getName
getNoItemsMarkedMessage
getPageButtonScript
getPageItemCount
getPageItemOffset
getPagerButtonsListBuilder
getThisPntContext
hasFilterForm
initForHandleRequest
initPagerButtonsListBuilder
isReadonly
printBodyTagIeExtraPiece
printDeleteScript
printIndexPart
printItemTablePart

	

	/** @return Array of objects
	 * @throws PntError
	 */
	function getRequestedObject() {
		if (isSet($this->object))
			return $this->object;
			
		$clsDes = $this->getTypeClassDescriptor();
		$filter = $this->getGlobalFilter();
		
		if (!Gen::is_a($clsDes, 'PntDbClassDescriptor') ||
			$filter && !$filter->appliesTo($this->getType(), true)) {
			$this->object = $filter
				? $clsDes->getPeanutsAccordingTo($filter)
				: $clsDes->getPeanuts();
			$this->allItemsSize = count($this->object);
			return $this->object;
		}
		$qh = $clsDes->getSelectQueryHandler();
		$sort = $clsDes->getLabelSort();
		$sort->setFilter($filter);
		$qh->addSqlFromSpec($sort);
		if (!$this->isLayoutReport()) 
			$qh->limit($this->getPageItemCount(), $this->getPageItemOffset());
		
//print $qh->query;		
		$this->object = $clsDes->getPeanutsRunQueryHandler($qh);
		return $this->object;
	}
Copyright (c) MetaClass, 2003-

This code is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

Click here for a copy of the license or see http://www.gnu.org/licenses/ .