Lines Matching refs:this

21         $controller->register_hook('TPL_ACT_RENDER', 'BEFORE', $this, 'renderBanner');
37 $this->dbHelper = plugin_load('helper', 'structpublish_db');
39 if (!$this->dbHelper->isPublishable()) {
43 $this->compactView = (bool)$this->getConf('compact_view');
55 $compactClass = $this->compactView ? ' compact' : '';
62 $banner .= $this->getBannerText('status_' . $shownRevision->getStatus(), $shownRevision);
66 $banner .= $this->getBannerText('latest_publish', $latestpubRevision, $shownRevision->getRev());
68 $banner .= $this->getBannerText('previous_publish', $prevpubRevision, $shownRevision->getRev());
75 $this->dbHelper->checkAccess($ID)
77 $banner .= $this->getBannerText('latest_draft', $newestRevision, $shownRevision->getRev());
82 $banner .= $this->actionButtons(
84 $latestpubRevision ? $this->increaseVersion($latestpubRevision->getVersion()) : '1'
107 '{revision}' => $this->makeLink($rev->getId(), $rev->getRev(), dformat($rev->getRev())),
108 '{datetime}' => $this->makeLink($rev->getId(), $rev->getRev(), dformat($rev->getTimestamp())),
112 $text = $this->getLang($this->compactView ? "compact_banner_$name" : "banner_$name");
120 $text .= ' <a href="' . $link . '" title="' . $this->getLang('diff') . '">' . $icon . '</a>';
123 $tag = $this->compactView ? 'span' : 'p';
160 $this->dbHelper->checkAccess($ID, [Constants::ACTION_APPROVE])
164 $this->getLang('action_' . Constants::ACTION_APPROVE)
168 if ($this->dbHelper->checkAccess($ID, [Constants::ACTION_PUBLISH])) {
169 $form->addTextInput('version', $this->getLang('newversion'))->val($newVersion);
172 $this->getLang('action_' . Constants::ACTION_PUBLISH)