Свойство | Тип | Описание | |
---|---|---|---|
$attributes | array | Child element attributes | |
$childrenFirst | boolean | Flag to render children before node value or not. | |
$nodeName | string | Child element node name | |
$nodeValue | string | Child element node value |
Метод | Описание | |
---|---|---|
__construct ( string $name, string $value = null, mixed $childNode = null, boolean $first = false, string $indent = null ) : |
Constructor | |
__toString ( ) : string | Render Dom child object to string | |
factory ( array $c ) : |
Static factory method to create child objects | |
getAttribute ( string $name ) : string | Get the attribute of the child object. | |
getAttributes ( ) : array | Get the attributes of the child object. | |
getNodeName ( ) : string | Method to return the child node name. | |
getNodeValue ( ) : string | Method to return the child node value. | |
render ( boolean $ret = false, integer $depth, string $indent = null ) : void | Method to render the child and its child nodes. | |
setAttributes ( array | string $a, string $v = null ) : |
Set an attribute or attributes for the child element object. | |
setNodeName ( string $name ) : |
Method to set the child node name. | |
setNodeValue ( string $value ) : |
Method to set the child node value. |
public __toString ( ) : string | ||
Результат | string |
public getAttribute ( string $name ) : string | ||
$name | string | |
Результат | string |
public getAttributes ( ) : array | ||
Результат | array |
public getNodeName ( ) : string | ||
Результат | string |
public getNodeValue ( ) : string | ||
Результат | string |
public setNodeName ( string $name ) : |
||
$name | string | |
Результат |
public setNodeValue ( string $value ) : |
||
$value | string | |
Результат |
protected array $attributes | ||
Результат | array |
protected bool $childrenFirst | ||
Результат | boolean |
protected string $nodeValue | ||
Результат | string |