| 1 | <?php |
||
| 8 | class GoogleMapsPlugin extends Plugin |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Class constructor |
||
| 12 | */ |
||
| 13 | protected function __construct() |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Get the plugin Name |
||
| 24 | * |
||
| 25 | * @return string |
||
| 26 | */ |
||
| 27 | public function get_name() |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Instance the plugin |
||
| 34 | * @staticvar null $result |
||
| 35 | * @return GoogleMapsPlugin |
||
| 36 | */ |
||
| 37 | static function create() |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Install the plugin |
||
| 46 | * @return void |
||
| 47 | */ |
||
| 48 | public function install() |
||
| 52 | |||
| 53 | /** |
||
| 54 | * Uninstall the plugin |
||
| 55 | * @return void |
||
| 56 | */ |
||
| 57 | public function uninstall() |
||
| 61 | } |
||
| 62 |