PHP Класс Pop\Dom\AbstractDom

Автор: Nick Sagona, III ([email protected])
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$childNodes array Object child nodes
$indent string Indentation for formatting purposes.
$output string Child output

Открытые методы

Метод Описание
addChild ( mixed $c ) : mixed Add a child to the object.
addChildren ( array $c ) : mixed Add children to the object.
getChild ( integer $i ) : Child Get the child nodes of the object.
getChildren ( ) : array Get the child nodes of the object.
getIndent ( ) : void Method to return the indent.
hasChildren ( ) : boolean Get whether or not the child object has children
removeChild ( integer $i ) : void Remove all child nodes from the object.
removeChildren ( ) : void Remove all child nodes from the object.
setIndent ( string $indent ) : mixed Method to set the indent.

Описание методов

addChild() публичный Метод

Add a child to the object.
public addChild ( mixed $c ) : mixed
$c mixed
Результат mixed

addChildren() публичный Метод

Add children to the object.
public addChildren ( array $c ) : mixed
$c array
Результат mixed

getChild() публичный Метод

Get the child nodes of the object.
public getChild ( integer $i ) : Child
$i integer
Результат Child

getChildren() публичный Метод

Get the child nodes of the object.
public getChildren ( ) : array
Результат array

getIndent() публичный Метод

Method to return the indent.
public getIndent ( ) : void
Результат void

hasChildren() публичный Метод

Get whether or not the child object has children
public hasChildren ( ) : boolean
Результат boolean

removeChild() публичный Метод

Remove all child nodes from the object.
public removeChild ( integer $i ) : void
$i integer
Результат void

removeChildren() публичный Метод

Remove all child nodes from the object.
public removeChildren ( ) : void
Результат void

setIndent() публичный Метод

Method to set the indent.
public setIndent ( string $indent ) : mixed
$indent string
Результат mixed

Описание свойств

$childNodes защищенное свойство

Object child nodes
protected array $childNodes
Результат array

$indent защищенное свойство

Indentation for formatting purposes.
protected string $indent
Результат string

$output защищенное свойство

Child output
protected string $output
Результат string