Lines Matching refs:key
31 function getLang($key){ argument
32 return $this->_getLang($key);
34 function _getLang($key,$config_plugin = false){ argument
37 if (!($ret = @$lang[$conf['lang']][$key])){
38 if (!($ret = @$lang['en'][$key])){
40 if (!preg_match('~^(?:'.implode('|',array_keys($this->_meta)).')_o_(.*)$~',$key,$match)){
41 …if (!$config_plugin && ($ret = $this->_getLang($key,true)) === null){ // check if it a key for con…
43 …$ret = "{msgid:{$key}}"; // else we need to return the something if we want to display, that the k…
65 …if (($ret = $this->_getLang($match[1],$config_plugin)) === "{msgid:{$key}}"); // try to get the 'k…
121 foreach ($this->_meta as $key=>$meta){
123 $return[$key] = $meta;
144 function getDefault($key){ return @$this->_defaults[$key]; } argument
145 function getLocal($key){ return self::_getlocal($key,$this->_pluginname); } argument
146 function getProtected($key){ return self::_getprotected($key,$this->_pluginname); } argument
147 function isExtended($key){ return self::_isextended($key,$this->_pluginname); } argument
149 static function _getlocal($key,$pluginname){ argument
150 if (static::_isextended($key,$pluginname)){
159 return @static::$conf_local[$pluginname][$key];
161 static function _getprotected($key,$pluginname){ argument
162 if (static::_isextended($key,$pluginname)){
171 return @static::$conf_protected[$pluginname][$key];
173 static function _isextended($key,$pluginname){ argument
175 return !array_key_exists($key,(array)@$conf['plugin'][$pluginname]);
178 function showHierarchyLevelRecursive($level,$key,&$empty){ argument
184 $_chhtml = $this->showHierarchyLevelRecursive($ch,$key,$_empty);
190 $p = $level->isLevelProtected($key);
191 $v = $level->isLevelValue($key);
197 …value_set_to')." <code>{$this->format($key,$level->getLevelValue($key))}</code>".($level->isLevelV…
200 function showHierarchy($key){ argument
202 …$ret .= "<li class='title'>".sprintf(settingshierarchy::$helper->getLang("settings_for_%s"),$key).…
203 if (!$this->isExtended($key)){
204 $v = $this->getLocal($key) !== null;
205 $p = $this->getProtected($key) !== null;
207 …rarchy::$helper->getLang('default_is')." <code>{$this->format($key,$this->getDefault($key))}</code…
209 …hierarchy::$helper->getLang('local_is')." <code>{$this->format($key,$this->getLocal($key))}</code>…
213 …rarchy::$helper->getLang('default_is')." <code>{$this->format($key,$this->getDefault($key))}</code…
216 $roothtml = "<ul>".$this->showHierarchyLevelRecursive($this->_root,$key,$empty)."</ul>";
219 function format($key,$value){ argument
221 if ($this->_meta[$key][0] == 'onoff'){