PHP Class PS, phpsysinfo

Afficher le fichier Open project: phpsysinfo/phpsysinfo Class Usage Examples

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
_addchild ( Array $child, SimpleXMLExtended $xml, &$positions ) : SimpleXMLExtended recursive function to allow appending child processes to a parent process

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 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