PHP 클래스 PS, phpsysinfo

파일 보기 프로젝트 열기: phpsysinfo/phpsysinfo 1 사용 예제들

공개 메소드들

메소드 설명
__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