You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
577 B
33 lines
577 B
|
9 years ago
|
<?php
|
||
|
|
/* For licensing terms, see /license.txt */
|
||
|
|
|
||
|
|
/**
|
||
|
8 years ago
|
* Class MaintenanceModePlugin.
|
||
|
9 years ago
|
*/
|
||
|
|
class MaintenanceModePlugin extends Plugin
|
||
|
|
{
|
||
|
|
/**
|
||
|
8 years ago
|
* MaintenanceModePlugin constructor.
|
||
|
9 years ago
|
*/
|
||
|
8 years ago
|
public function __construct()
|
||
|
9 years ago
|
{
|
||
|
|
parent::__construct(
|
||
|
|
'0.1',
|
||
|
|
'Julio Montoya',
|
||
|
8 years ago
|
[
|
||
|
8 years ago
|
'tool_enable' => 'boolean',
|
||
|
8 years ago
|
]
|
||
|
9 years ago
|
);
|
||
|
|
}
|
||
|
8 years ago
|
|
||
|
|
/**
|
||
|
|
* @return $this
|
||
|
|
*/
|
||
|
|
public static function create()
|
||
|
|
{
|
||
|
|
static $result = null;
|
||
|
|
|
||
|
|
return $result ? $result : $result = new self();
|
||
|
|
}
|
||
|
9 years ago
|
}
|