initial commit of file from CVS for smeserver-phpsysinfo on Sat Sep 7 20:53:46 AEST 2024
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
/**
|
||||
* Basic OS 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 SVN: $Id: class.PSI_Interface_OS.inc.php 263 2009-06-22 13:01:52Z bigmichi1 $
|
||||
* @link http://phpsysinfo.sourceforge.net
|
||||
*/
|
||||
/**
|
||||
* define which methods a os 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 Release: 3.0
|
||||
* @link http://phpsysinfo.sourceforge.net
|
||||
*/
|
||||
interface PSI_Interface_OS
|
||||
{
|
||||
/**
|
||||
* get a special encoding from os where phpsysinfo is running
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getEncoding();
|
||||
|
||||
/**
|
||||
* build the os information
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function build();
|
||||
|
||||
/**
|
||||
* get the filled or unfilled (with default values) system object
|
||||
*
|
||||
* @return System
|
||||
*/
|
||||
public function getSys();
|
||||
}
|
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* Basic Output 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 SVN: $Id: class.PSI_Interface_Output.inc.php 214 2009-05-25 08:32:40Z bigmichi1 $
|
||||
* @link http://phpsysinfo.sourceforge.net
|
||||
*/
|
||||
/**
|
||||
* define which methods a output class for phpsysinfo must implement
|
||||
* to be recognized and fully work without errors
|
||||
*
|
||||
* @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 Release: 3.0
|
||||
* @link http://phpsysinfo.sourceforge.net
|
||||
*/
|
||||
interface PSI_Interface_Output
|
||||
{
|
||||
/**
|
||||
* generate the output
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run();
|
||||
}
|
@@ -0,0 +1,43 @@
|
||||
<?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 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 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 SimpleXMLObject entire XML content for the plugin which than can be appended to the main XML
|
||||
*/
|
||||
public function xml();
|
||||
}
|
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
/**
|
||||
* Basic Sensor 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 SVN: $Id: class.PSI_Interface_Sensor.inc.php 263 2009-06-22 13:01:52Z bigmichi1 $
|
||||
* @link http://phpsysinfo.sourceforge.net
|
||||
*/
|
||||
/**
|
||||
* define which methods every sensor 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 Release: 3.0
|
||||
* @link http://phpsysinfo.sourceforge.net
|
||||
*/
|
||||
interface PSI_Interface_Sensor
|
||||
{
|
||||
/**
|
||||
* build the mbinfo information
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function build();
|
||||
|
||||
/**
|
||||
* get the filled or unfilled (with default values) MBInfo object
|
||||
*
|
||||
* @return MBInfo
|
||||
*/
|
||||
public function getMBInfo();
|
||||
}
|
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
/**
|
||||
* Basic UPS 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 SVN: $Id: class.PSI_Interface_UPS.inc.php 263 2009-06-22 13:01:52Z bigmichi1 $
|
||||
* @link http://phpsysinfo.sourceforge.net
|
||||
*/
|
||||
/**
|
||||
* define which methods a ups class for phpsysinfo must implement
|
||||
* to be recognized and fully work without errors
|
||||
*
|
||||
* @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 Release: 3.0
|
||||
* @link http://phpsysinfo.sourceforge.net
|
||||
*/
|
||||
interface PSI_Interface_UPS
|
||||
{
|
||||
/**
|
||||
* build the ups information
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function build();
|
||||
|
||||
/**
|
||||
* get the filled or unfilled (with default values) UPSInfo object
|
||||
*
|
||||
* @return UPSInfo
|
||||
*/
|
||||
public function getUPSInfo();
|
||||
}
|
Reference in New Issue
Block a user