| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 18 | 
| Code Lines | 12 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 21 |     public function html(\admin_plugin_config $plugin, $echo = false) { | 
            ||
| 22 | // determine the name the meta key would be called  | 
            ||
| 23 | if(preg_match(  | 
            ||
| 24 | '/^(?:plugin|tpl)' . Configuration::KEYMARKER . '.*?' . Configuration::KEYMARKER . '(.*)$/',  | 
            ||
| 25 | $this->getKey(),  | 
            ||
| 26 | $undefined_setting_match  | 
            ||
| 27 |         )) { | 
            ||
| 28 | $undefined_setting_key = $undefined_setting_match[1];  | 
            ||
| 29 |         } else { | 
            ||
| 30 | $undefined_setting_key = $this->getKey();  | 
            ||
| 31 | }  | 
            ||
| 32 | |||
| 33 | $label = '<span title="$meta[\'' . $undefined_setting_key . '\']">$' .  | 
            ||
| 34 | 'conf' . '[\'' . $this->getArrayKey() . '\']</span>';  | 
            ||
| 35 | $input = $plugin->getLang($this->errorMessage);  | 
            ||
| 36 | |||
| 37 | return array($label, $input);  | 
            ||
| 38 | }  | 
            ||
| 39 | |||
| 41 |