Lines Matching refs:getConf

64         if (!$this->getConf('show_button')) return;
73 if($this->getConf('default_lang_in_ns') and $lang_ns === $this->get_default_lang()) {
82 if($this->getConf('default_lang_in_ns')) return;
105 if($this->getConf('default_lang_in_ns') and $lang_ns === $this->get_default_lang()) {
193 if ($event->data == 'translate' and !$this->getConf('show_button')) return;
240 if (!$this->getConf('show_button')) {
260 if ($this->getConf('default_lang_in_ns')) {
328 return trim(strtolower($this->getConf('glossary_ns')));
333 if ($this->getConf('editor_regex')) {
334 if (preg_match('/' . $this->getConf('editor_regex') . '/', $ID) === 1) return 'editor';
336 if ($this->getConf('direct_regex')) {
337 if (preg_match('/' . $this->getConf('direct_regex') . '/', $ID) === 1) return 'direct';
339 return $this->getConf('mode');
368 if ($this->getConf('default_lang_in_ns')) {
376 if (!trim($this->getConf('api_key'))) {
381 if ($this->getConf('api') == 'free') {
389 $http->headers = array('Authorization' => 'DeepL-Auth-Key ' . $this->getConf('api_key'));
497 if ($this->getConf('blacklist_regex')) {
498 if (preg_match('/' . $this->getConf('blacklist_regex') . '/', $ID) === 1) return false;
509 if ($this->getConf('default_lang_in_ns')) {
534 if($this->getConf('default_lang_in_ns')) {
549 if ($this->getConf('blacklist_regex')) {
551 if (preg_match('/' . $this->getConf('blacklist_regex') . '/', $ID) === 1) return false;
558 if (!trim($this->getConf('api_key'))) {
563 if ($this->getConf('api') == 'free') {
579 $http->headers = array('Authorization' => 'DeepL-Auth-Key ' . $this->getConf('api_key'));
607 if (!trim($this->getConf('api_key'))) {
612 if ($this->getConf('api') == 'free') {
622 $http->headers = array('Authorization' => 'DeepL-Auth-Key ' . $this->getConf('api_key'));
645 if (!trim($this->getConf('api_key'))) {
673 if ($this->getConf('api') == 'free') {
681 $http->headers = array('Authorization' => 'DeepL-Auth-Key ' . $this->getConf('api_key'));
715 $push_langs = trim($this->getConf('push_langs'));
889 $ignored_expressions = explode(':', $this->getConf('ignored_expressions'));
899 $ignored_expressions = explode(':', $this->getConf('ignored_expressions'));