PHP Class PSStatus, phpsysinfo

Author: Michael Cramer ([email protected])
Inheritance: extends PSI_Plugin
Afficher le fichier Open project: phpsysinfo/phpsysinfo

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

execute() public méthode

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
Résultat void

xml() public méthode

generates the XML content for the plugin
public xml ( ) : SimpleXMLElement
Résultat SimpleXMLElement entire XML content for the plugin