Свойство | Тип | Описание | |
---|---|---|---|
$_xml | array | A list of DOM help entry nodes. |
Метод | Описание | |
---|---|---|
__construct ( integer $source, string $data, array $views = [] ) | Constructor. | |
link ( string $module, string $topic ) : string | Generates the HTML link that will pop up a help window for the requested topic. | |
lookup ( string $id ) : string | Looks up the requested entry in the XML help buffer. | |
search ( string $keyword ) : array | Returns a hash of all of the topics in this help buffer containing the keyword specified. | |
topics ( ) : array | Returns a hash of all of the topics in this help buffer. |
Метод | Описание | |
---|---|---|
_processNode ( DOMElement $node ) : string | Process a help node. | |
_processXml ( DOMElement $node, $views ) |
public __construct ( integer $source, string $data, array $views = [] ) | ||
$source | integer | The source of the XML help data, based on the SOURCE_* constants. |
$data | string | The data source. If $source is RAW, this is XML text. If $source is FILE, this is the XML filename. |
$views | array | Include these views. |
protected _processNode ( DOMElement $node ) : string | ||
$node | DOMElement | A help node. |
Результат | string | HTML string. |