/** * Renders the permissions action button for the current record. * @param class_model|interface_model $objListEntry * @return string */ protected function renderCopyAction(class_model $objListEntry) { if ($objListEntry->getIntRecordDeleted() == 1) { return ""; } if ($objListEntry->rightEdit() && $this->strPeAddon == "") { $strHref = class_link::getLinkAdminHref($objListEntry->getArrModule("modul"), $this->getActionNameForClass("copyObject", $objListEntry), "&systemid=" . $objListEntry->getSystemid() . $this->strPeAddon); return $this->objToolkit->listButton(class_link::getLinkAdminManual(" onclick='jsDialog_3.init();' href='" . $strHref . "'", "", $this->getLang("commons_edit_copy"), "icon_copy")); } return ""; }