Conditions | 3 |
Paths | 4 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
36 | public function HighLight($content) { |
||
37 | |||
38 | $configArray = Yaml::parse(file_get_contents($this->pathToYml)); |
||
39 | |||
40 | if ($configArray['highlighting_enabled']['link']) { |
||
41 | $content = LinkHighlighter::replaceWebLinks($content); |
||
42 | } |
||
43 | if ($configArray['highlighting_enabled']['mail']) { |
||
44 | $content = MailToHighlighter::replaceMailTo($content); |
||
45 | } |
||
46 | return $content; |
||
47 | } |
||
48 | |||
50 |