PHP Class FluidXml\FluidXml

Inheritance: implements fluidxml\FluidInterface, use trait FluidAliasesTrait, use trait FluidSaveTrait, use trait NewableTrait, use trait ReservedCallTrait, use trait ReservedCallStaticTrait
Afficher le fichier Open project: servo-php/fluidxml Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $arguments )
__toString ( )
addCdata ( $text )
addChild ( $child, $optionals )
addComment ( $text )
addText ( $text )
appendSibling ( $sibling, $optionals )
array_ ( ) it is shadowed by the __call() method.
dom ( )
each ( callable $fn )
filter ( callable $fn )
html ( $strip = false )
length ( )
load ( $document )
namespaces ( )
prependSibling ( $sibling, $optionals )
query ( $query )
remove ( $query )
setAttribute ( $name, $value = null )
setCdata ( $text )
setComment ( $text )
setText ( $text )
times ( $times, callable $fn = null )
xml ( $strip = false )

Méthodes protégées

Méthode Description
chooseContext ( Closure $fn )
context ( )
mergeOptions ( &$arguments )
namespace_ ( $arguments ) it is shadowed by the __call() method.

Private Methods

Méthode Description
initRoot ( &$options )
initStylesheet ( &$options )
newDom ( &$options )

Method Details

__construct() public méthode

public __construct ( $arguments )

__toString() public méthode

public __toString ( )

addCdata() public méthode

public addCdata ( $text )

addChild() public méthode

public addChild ( $child, $optionals )

addComment() public méthode

public addComment ( $text )

addText() public méthode

public addText ( $text )

appendSibling() public méthode

public appendSibling ( $sibling, $optionals )

array_() public méthode

it is shadowed by the __call() method.
public array_ ( )

chooseContext() protected méthode

protected chooseContext ( Closure $fn )
$fn Closure

context() protected méthode

protected context ( )

dom() public méthode

public dom ( )

each() public méthode

public each ( callable $fn )
$fn callable

filter() public méthode

public filter ( callable $fn )
$fn callable

html() public méthode

public html ( $strip = false )

length() public méthode

public length ( )

load() public static méthode

public static load ( $document )

mergeOptions() protected méthode

protected mergeOptions ( &$arguments )

namespace_() protected méthode

it is shadowed by the __call() method.
protected namespace_ ( $arguments )

namespaces() public méthode

public namespaces ( )

prependSibling() public méthode

public prependSibling ( $sibling, $optionals )

query() public méthode

public query ( $query )

remove() public méthode

public remove ( $query )

setAttribute() public méthode

public setAttribute ( $name, $value = null )

setCdata() public méthode

public setCdata ( $text )

setComment() public méthode

public setComment ( $text )

setText() public méthode

public setText ( $text )

times() public méthode

public times ( $times, callable $fn = null )
$fn callable

xml() public méthode

public xml ( $strip = false )