PHP Класс PS, phpsysinfo

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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

Приватные методы

Метод Описание
_addchild ( Array $child, SimpleXMLExtended $xml, &$positions ) : SimpleXMLExtended recursive function to allow appending child processes to a parent process

Описание методов

__construct() публичный Метод

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

execute() публичный Метод

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
Результат void

xml() публичный Метод

generates the XML content for the plugin
public xml ( ) : SimpleXMLElement
Результат SimpleXMLElement entire XML content for the plugin