PHP Class Pop\Dom\AbstractDom

Author: Nick Sagona, III ([email protected])
Afficher le fichier Open project: nicksagona/PopPHP

Protected Properties

Свойство Type Description
$childNodes array Object child nodes
$indent string Indentation for formatting purposes.
$output string Child output

Méthodes publiques

Méthode Description
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.

Method Details

addChild() public méthode

Add a child to the object.
public addChild ( mixed $c ) : mixed
$c mixed
Résultat mixed

addChildren() public méthode

Add children to the object.
public addChildren ( array $c ) : mixed
$c array
Résultat mixed

getChild() public méthode

Get the child nodes of the object.
public getChild ( integer $i ) : Child
$i integer
Résultat Child

getChildren() public méthode

Get the child nodes of the object.
public getChildren ( ) : array
Résultat array

getIndent() public méthode

Method to return the indent.
public getIndent ( ) : void
Résultat void

hasChildren() public méthode

Get whether or not the child object has children
public hasChildren ( ) : boolean
Résultat boolean

removeChild() public méthode

Remove all child nodes from the object.
public removeChild ( integer $i ) : void
$i integer
Résultat void

removeChildren() public méthode

Remove all child nodes from the object.
public removeChildren ( ) : void
Résultat void

setIndent() public méthode

Method to set the indent.
public setIndent ( string $indent ) : mixed
$indent string
Résultat mixed

Property Details

$childNodes protected_oe property

Object child nodes
protected array $childNodes
Résultat array

$indent protected_oe property

Indentation for formatting purposes.
protected string $indent
Résultat string

$output protected_oe property

Child output
protected string $output
Résultat string