Lines Matching refs:helper
17 * For the helper plugin
20 protected $helper;
23 * Constructor. Load helper plugin
27 $this->helper = plugin_load('helper', 'translation');
73 $locale = $this->helper->getLangPart($id ?? '');
82 $locale = $this->helper->getLangPart("$locale:foo");
138 if (!$this->helper->istranslatable($ID)) return;
139 $locale = $this->helper->getLangPart($ID ?? '');
166 $lc = $this->helper->getBrowserLang();
168 [$translatedStartpage, ] = $this->helper->buildTransID($lc, $conf['start']);
185 if (!$this->helper->istranslatable($ID)) return;
187 $translations = $this->helper->getAvailableTranslations($ID);
199 $defaultlink = $this->helper->buildTransID($default, ($this->helper->getTransParts($ID))[1])[0];
218 if ($this->getConf('copytrans') && $this->helper->istranslatable($ID, false)) {
220 $translations = $this->helper->getAvailableTranslations($ID);
240 $this->helper->getLocalName($t) .
247 $this->helper->getLocalName($orig),
256 $event->data['tpl'] = str_replace('@LANG@', $this->helper->realLC(''), $event->data['tpl']);
257 $event->data['tpl'] = str_replace('@TRANS@', $this->helper->getLangPart($ID), $event->data['tpl']);
271 $tr = $this->helper->getLangPart($r);