|
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 () {
if (isSet($this->object))
return $this->object;
$clsDes = $this->();
$filter = $this->();
if (!Gen::is_a($clsDes, 'PntDbClassDescriptor') ||
$filter && !$filter->($this->(), true)) {
$this->object = $filter
? $clsDes->($filter)
: $clsDes->();
$this->allItemsSize = count($this->object);
return $this->object;
}
$qh = $clsDes->();
$sort = $clsDes->();
$sort->($filter);
$qh->($sort);
if (!$this->())
$qh->($this->(), $this->());
//print $qh->query;
$this->object = $clsDes->($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/ .
|
|