PluginProbe ʕ •ᴥ•ʔ
VikAppointments Services Booking Calendar / trunk
VikAppointments Services Booking Calendar vtrunk
1.2.21 1.2.20 trunk 1.2.17 1.2.18 1.2.19
vikappointments / libraries / adapter / plugin / installer / interface.php
vikappointments / libraries / adapter / plugin / installer Last commit date
adapter.php 2 years ago installer.php 2 years ago interface.php 2 years ago
interface.php
44 lines
1 <?php
2 /**
3 * @package VikWP - Libraries
4 * @subpackage adapter.session
5 * @author E4J s.r.l.
6 * @copyright Copyright (C) 2023 E4J s.r.l. All Rights Reserved.
7 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
8 * @link https://vikwp.com
9 */
10
11 // No direct access
12 defined('ABSPATH') or die('No script kiddies please!');
13
14 /**
15 * This interface declares the common actions needed to install a plugin.
16 *
17 * @since 10.1.57
18 */
19 interface JPluginInstallerInterface
20 {
21 /**
22 * Checks whether the plugin has been installed.
23 *
24 * @return bool
25 */
26 public function isInstalled();
27
28 /**
29 * Checks whether the plugin is already active.
30 *
31 * @return bool
32 */
33 public function isActive();
34
35 /**
36 * Completes the plugin installation and activation.
37 *
38 * @return void
39 *
40 * @throws \Exception
41 */
42 public function install();
43 }
44