PHP Class PSStatus, phpsysinfo

Author: Michael Cramer ([email protected])
Inheritance: extends PSI_Plugin
Datei anzeigen Open project: phpsysinfo/phpsysinfo

Public Methods

Method Description
__construct ( String $enc ) read the data into an internal array and also call the parent constructor
execute ( ) : void doing all tasks to get the required informations that the plugin needs result is stored in an internal array
the array is build like a tree, so that it is possible to get only a specific process with the childs
xml ( ) : SimpleXMLElement generates the XML content for the plugin

Private Methods

Method Description
_recursiveinarray ( mixed $needle, array $haystack ) : boolean checks an array recursive if an value is in, extended version of in_array()

Method Details

__construct() public method

read the data into an internal array and also call the parent constructor
public __construct ( String $enc )
$enc String target encoding

execute() public method

doing all tasks to get the required informations that the plugin needs result is stored in an internal array
the array is build like a tree, so that it is possible to get only a specific process with the childs
public execute ( ) : void
return void

xml() public method

generates the XML content for the plugin
public xml ( ) : SimpleXMLElement
return SimpleXMLElement entire XML content for the plugin