PHP 클래스 Horde_Help, horde

Copyright 1999-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
저자: Jon Parise ([email protected])
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_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 )

메소드 상세

__construct() 공개 메소드

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

_processNode() 보호된 메소드

Process a help node.
protected _processNode ( DOMElement $node ) : string
$node DOMElement A help node.
리턴 string HTML string.

_processXml() 보호된 메소드

protected _processXml ( DOMElement $node, $views )
$node DOMElement

lookup() 공개 메소드

Looks up the requested entry in the XML help buffer.
public lookup ( string $id ) : string
$id string String containing the entry ID.
리턴 string The HTML formatted help entry.

topics() 공개 메소드

Returns a hash of all of the topics in this help buffer.
public topics ( ) : array
리턴 array Hash of all of the topics in this buffer (keys are IDs, values are the title names).

프로퍼티 상세

$_xml 보호되어 있는 프로퍼티

A list of DOM help entry nodes.
protected array $_xml
리턴 array