/** * @param f_persistentdocument_PersistentDocument $document * @param string $forModuleName * @param array $allowedSections * @return array */ public function getResume($document, $forModuleName, $allowedSections = null) { $resume = parent::getResume($document, $forModuleName, $allowedSections); $openNotificationUri = join(',', array('notification', 'openDocument', 'modules_notification_notification', $document->getNotification()->getId(), 'properties')); $backUri = join(',', array('form', 'openDocument', 'modules_form_form', $document->getId(), 'resume')); $resume["properties"]["notification"] = array("uri" => $openNotificationUri, "label" => f_Locale::translateUI("&modules.uixul.bo.doceditor.open;"), "backuri" => $backUri); return $resume; }