| Total Complexity | 3 |
| Total Lines | 48 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class Preprocessor |
||
| 15 | { |
||
| 16 | protected $_settings; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Constructor |
||
| 20 | * |
||
| 21 | * @param array $settings settings |
||
| 22 | */ |
||
| 23 | public function __construct($settings) |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Process |
||
| 30 | * |
||
| 31 | * @param string $string string |
||
| 32 | * @return string |
||
| 33 | */ |
||
| 34 | public function process($string) |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Convert full internal links (http://domain/…/view/123) to hashes (#123) |
||
| 41 | * |
||
| 42 | * @param string $string string |
||
| 43 | * @return string |
||
| 44 | */ |
||
| 45 | protected function _hashInternalEntryLinks($string) |
||
| 64 |