CrossPHP

CallTree
in package

保存调用关系

Tags
author

wonli wonli@live.com Class NodeTree

Table of Contents

$node  : mixed
__toString()  : string
dom()  : DOMDocument
输出DOM
getInstance()  : static
getNode()  : array<string|int, mixed>
获取当前node内容
html()  : void
输出HTML标签
saveNode()  : void
保存调用关系
nodeToHTML()  : string
把node转换为html

Properties

Methods

__toString()

public __toString() : string
Tags
see
nodeToHTML
Return values
string

dom()

输出DOM

public dom() : DOMDocument
Return values
DOMDocument

getInstance()

public static getInstance() : static
Return values
static

getNode()

获取当前node内容

public getNode() : array<string|int, mixed>
Return values
array<string|int, mixed>

html()

输出HTML标签

public html([bool $htmlDecode = true ]) : void
Parameters
$htmlDecode : bool = true
Return values
void

saveNode()

保存调用关系

public saveNode(string $nodeName, mixed $nodeArguments) : void
Parameters
$nodeName : string
$nodeArguments : mixed
Return values
void

nodeToHTML()

把node转换为html

private nodeToHTML([bool $htmlDecode = true ]) : string
Parameters
$htmlDecode : bool = true
Return values
string

Search results