1 | <?php |
||
13 | class ext extends \phpbb\extension\base |
||
14 | { |
||
15 | /** @var string YAML file extension */ |
||
16 | const YML = '.yml'; |
||
17 | |||
18 | /** |
||
19 | * @var array An array of installation error messages |
||
20 | */ |
||
21 | protected $errors = []; |
||
22 | |||
23 | /** |
||
24 | * {@inheritDoc} |
||
25 | */ |
||
26 | public function is_enableable() |
||
33 | |||
34 | /** |
||
35 | * Check the installed phpBB version meets this |
||
36 | * extension's requirements. |
||
37 | * |
||
38 | * Minimum requirements: phpBB 3.2.1 |
||
39 | * |
||
40 | * @return void |
||
41 | */ |
||
42 | public function phpbb_version_is_valid() |
||
49 | |||
50 | /** |
||
51 | * Check if s9e MediaEmbed extension for phpBB is installed |
||
52 | * (it must NOT be to enable this extension). |
||
53 | * |
||
54 | * @return void |
||
55 | */ |
||
56 | public function s9e_mediamebed_installed() |
||
65 | |||
66 | /** |
||
67 | * Generate the best enable failed response for the current phpBB environment. |
||
68 | * Return error messages in phpBB 3.3 or newer. Return boolean false otherwise. |
||
69 | * |
||
70 | * @return array|bool |
||
71 | */ |
||
72 | protected function enable_failed() |
||
83 | } |
||
84 |