smeserver-phpsysinfo/root/opt/phpsysinfo/includes/interface/class.PSI_Interface_Plugin.inc.php
Brian Read c8ce77259d * Mon May 12 2025 Brian Read <brianr@koozali.org> 11.0.0-1.sme
- Adding SM2 panel [SME: 13004]
- Upgrade to phpsysinfo 3.4.4
- Add code to delete inline styles and add css to make it look better.
- version saved / built uses the static version, which means no drops downs and choices.
2025-05-14 16:14:01 +01:00

44 lines
1.4 KiB
PHP

<?php
/**
* Basic Plugin Functions
*
* PHP version 5
*
* @category PHP
* @package PSI_Interfaces
* @author Michael Cramer <BigMichi1@users.sourceforge.net>
* @copyright 2009 phpSysInfo
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License version 2, or (at your option) any later version
* @version SVN: $Id: class.PSI_Interface_Plugin.inc.php 273 2009-06-24 11:40:09Z bigmichi1 $
* @link http://phpsysinfo.sourceforge.net
*/
/**
* define which methods a plugin class for phpsysinfo must implement
* to be recognized and fully work without errors, these are the methods which
* are called from outside to include the information in the main application
*
* @category PHP
* @package PSI_Interfaces
* @author Michael Cramer <BigMichi1@users.sourceforge.net>
* @copyright 2009 phpSysInfo
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License version 2, or (at your option) any later version
* @version Release: 3.0
* @link http://phpsysinfo.sourceforge.net
*/
interface PSI_Interface_Plugin
{
/**
* doing all tasks before the xml can be build
*
* @return void
*/
public function execute();
/**
* build the xml
*
* @return SimpleXMLElement entire XML content for the plugin which than can be appended to the main XML
*/
public function xml();
}