Lines Matching refs:this

15  * need to inherit from this class
43 // of use of $this->getLang
44 $this->setupLocale();
56 if (!isset($this->pageRuleManager)) {
58 $this->pageRuleManager = new PageRules();
87 return ucfirst(PluginUtility::$PLUGIN_NAME) . " - " . $this->lang['PageRules'];
102 $this->initiatePageRuleManager();
124 msg($this->lang['SameSourceAndTargetAndPage'] . ': ' . $matcher . '', LogUtility::LVL_MSG_ERROR);
129 if (!$this->pageRuleManager->patternExists($matcher)) {
130 $this->pageRuleManager->addRule($matcher, $target, $priority);
131 msg($this->lang['Saved'], LogUtility::LVL_MSG_INFO);
136 $this->pageRuleManager->updateRule($id, $matcher, $target, $priority);
137 msg($this->lang['Saved'], LogUtility::LVL_MSG_INFO);
146 $this->pageRuleManager->deleteRule($ruleId);
147 msg($this->lang['Deleted'], LogUtility::LVL_MSG_INFO);
160 $this->initiatePageRuleManager();
162 ptln('<h1>' . ucfirst(PluginUtility::$PLUGIN_NAME) . ' - ' . ucfirst($this->getPluginComponent()) . '</a></h1>');
163 $relativePath = 'admin/' . $this->getPluginComponent() . '_intro';
164 echo $this->locale_xhtml($relativePath);
176 $rule = $this->pageRuleManager->getRule($id);
195 ptln('<p><b>Then applies this redirect settings:</b></p>');
208 ptln('<input type="hidden" name="page" value="' . $this->getPluginName() . '_' . $this->getPluginComponent() . '" />');
227 ptln(' <input type="hidden" name="page" value="' . $this->getPluginName() . '_' . $this->getPluginComponent() . '" />');
228 ptln(' <input type="submit" name="upsert" name="Create a page rule" class="button" value="' . $this->getLangOrDefault('AddNewRule', 'Add a new rule') . '" />');
232 $rules = $this->pageRuleManager->getRules();
243 ptln(' <th>' . $this->getLangOrDefault('Priority', 'Priority') . '</th>');
244 ptln(' <th>' . $this->getLangOrDefault('Matcher', 'Matcher') . '</th>');
245 ptln(' <th>' . $this->getLangOrDefault('Target', 'Target') . '</th>');
246 ptln(' <th>' . $this->getLangOrDefault('NDate', 'Date') . '</th>');
308 $lang = $this->getLang($id);