| 1 | <?php |
||
| 17 | class Typo3Route extends AbstractUrl |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Convert the given information. |
||
| 21 | * |
||
| 22 | * @param $param1 |
||
| 23 | * @param $param2 |
||
| 24 | * |
||
| 25 | * @return string |
||
| 26 | */ |
||
| 27 | public function convert($param1, $param2) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Handle the alias to index ID convert. |
||
| 38 | * |
||
| 39 | * @param $value |
||
| 40 | * |
||
| 41 | * @return int |
||
| 42 | */ |
||
| 43 | protected function alias2id($value): int |
||
| 49 | |||
| 50 | /** |
||
| 51 | * Handle the index ID to alias convert. |
||
| 52 | * |
||
| 53 | * @param $value |
||
| 54 | * |
||
| 55 | * @return string |
||
| 56 | */ |
||
| 57 | protected function id2alias($value): string |
||
| 66 | } |
||
| 67 |