Quick search:

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 getButtonsList() {
		$actButs = array();
		$this->addNewButton($actButs);

		//we only want a delete button if values are dependents. 
		$part = $this->getPropertyPart();
		$prop = $part->getPropertyDescriptor();
		if ($prop->getHoldsDependents()) {
			$actButs[]= $this->getButton("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->getButton("Remove","document.itemTableForm.submit();");
		
		$tableIdLit = $this->getConverter()->toJsLiteral($part->getItemTable()->getTableId(), "'");
		$actButs[]=$this->getButton('Report', "pntSelectionReport($tableIdLit);");

		$navButs = array();
		$this->addContextButtonTo($navButs);
		$this->addDetailsButton($navButs); 
		$this->addMultiValuePropertyButtons($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/ .