|
PntObjectPropertyPage |
PntErrorPage |
PntHorSelReportPage |
PntIndexPage |
PntObjectDetailsPage |
PntObjectEditDetailsPage |
PntObjectIndexPage |
PntObjectMtoNPropertyPage |
PntObjectMtoNSearchPage |
PntObjectReportPage |
PntObjectSearchPage |
PntObjectSelectionDetailsReportPage |
PntObjectSelectionReportPage |
PntObjectVerifyDeletePage |
PntPage |
|
addNewButton |
ajaxPrintUpdates |
checkAccess |
getButtonsList |
getFilterPartString |
getInformation |
getLabel |
getName |
getNoItemsMarkedMessage |
getObjectEditInfo |
getPropertyDescriptor |
getPropertyPart |
getPropertyPartName |
getSubsaveActions |
printDeleteMarkedCallback |
printInformationPart |
printMainPart |
printOnUnload |
printPropertyPart |
|
function () {
$actButs = array();
$this->($actButs);
//we only want a delete button if values are dependents.
$part = $this->();
$prop = $part->();
if ($prop->()) {
$actButs[]= $this->("Delete", "pntDeleteMarkedButtonPressed();");
}
//Not Yet Implemented: Remove button to remove items from the list without deleting them
//if no idProperty the remove must be processed by a method analogous to with n to m properties
//if idProptery can hold null, the remove could set the idPropterties of the selected objects to null and save them.
//$actButs[]=$this->("Remove","document.itemTableForm.submit();");
$tableIdLit = $this->()->($part->()->(), "'");
$actButs[]=$this->('Report', "pntSelectionReport($tableIdLit);");
$navButs = array();
$this->($navButs);
$this->($navButs);
$this->($navButs);
return array($actButs, $navButs);
}
|
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/ .
|
|