| @@ 7-31 (lines=25) @@ | ||
| 4 | /** |
|
| 5 | * Class MaintenanceModePlugin |
|
| 6 | */ |
|
| 7 | class MaintenanceModePlugin extends Plugin |
|
| 8 | { |
|
| 9 | /** |
|
| 10 | * @return EditHtaccessPlugin |
|
| 11 | */ |
|
| 12 | public static function create() |
|
| 13 | { |
|
| 14 | static $result = null; |
|
| 15 | return $result ? $result : $result = new self(); |
|
| 16 | } |
|
| 17 | ||
| 18 | /** |
|
| 19 | * |
|
| 20 | */ |
|
| 21 | protected function __construct() |
|
| 22 | { |
|
| 23 | parent::__construct( |
|
| 24 | '0.1', |
|
| 25 | 'Julio Montoya', |
|
| 26 | array( |
|
| 27 | 'tool_enable' => 'boolean' |
|
| 28 | ) |
|
| 29 | ); |
|
| 30 | } |
|
| 31 | } |
|
| 32 | ||
| @@ 7-47 (lines=41) @@ | ||
| 4 | /** |
|
| 5 | * Class StudentFollowUpPlugin |
|
| 6 | */ |
|
| 7 | class StudentFollowUpPlugin extends Plugin |
|
| 8 | { |
|
| 9 | /** |
|
| 10 | * @return StudentFollowUpPlugin |
|
| 11 | */ |
|
| 12 | public static function create() |
|
| 13 | { |
|
| 14 | static $result = null; |
|
| 15 | return $result ? $result : $result = new self(); |
|
| 16 | } |
|
| 17 | ||
| 18 | /** |
|
| 19 | * StudentFollowUpPlugin constructor. |
|
| 20 | */ |
|
| 21 | protected function __construct() |
|
| 22 | { |
|
| 23 | parent::__construct( |
|
| 24 | '0.1', |
|
| 25 | 'Julio Montoya', |
|
| 26 | array( |
|
| 27 | 'tool_enable' => 'boolean' |
|
| 28 | ) |
|
| 29 | ); |
|
| 30 | } |
|
| 31 | ||
| 32 | /** |
|
| 33 | * |
|
| 34 | */ |
|
| 35 | public function install() |
|
| 36 | { |
|
| 37 | ||
| 38 | } |
|
| 39 | ||
| 40 | /** |
|
| 41 | * |
|
| 42 | */ |
|
| 43 | public function uninstall() |
|
| 44 | { |
|
| 45 | ||
| 46 | } |
|
| 47 | } |
|
| 48 | ||