| 1 | <?php |
||
| 11 | abstract class AbstractMode implements ModeInterface |
||
| 12 | { |
||
| 13 | /** @var \Doku_Lexer $Lexer will be injected on loading */ |
||
| 14 | public $Lexer; |
||
| 15 | protected $allowedModes = array(); |
||
| 16 | |||
| 17 | /** @inheritdoc */ |
||
| 18 | abstract public function getSort(); |
||
| 19 | |||
| 20 | /** @inheritdoc */ |
||
| 21 | public function preConnect() |
||
| 24 | |||
| 25 | /** @inheritdoc */ |
||
| 26 | public function connectTo($mode) |
||
| 29 | |||
| 30 | /** @inheritdoc */ |
||
| 31 | public function postConnect() |
||
| 34 | |||
| 35 | /** @inheritdoc */ |
||
| 36 | public function accepts($mode) |
||
| 40 | } |
||
| 41 |