function (&$actButs) {
if (!$this->object) trigger_error('no object', E_USER_ERROR);
$idParam = $this->('id');
$id = $this->object->('id');
//Gen::show(array($idParam, $id));
$errorsAfterSave = $idParam && isSet($this->object->pntOriginal)
|| !$idParam && $id;
$actButs[]=$this->($this->($id), "pntDetailsSaveButtonPressed();");
if ($id) {
//new button no longer common now copy button is available
// $actButs[]=$this->('Create New', "pntDetailsCreateNewButtonPressed(); ", $errorsAfterSave);
$actButs[]=$this->('Copy', "pntDetailsCopyButtonPressed(); ", $errorsAfterSave);
$actButs[]=$this->('Delete', "pntDeleteButtonPressed(); ");
}
}
|