PHP Class Sulu\Component\Util\XmlUtil

Afficher le fichier Open project: sulu/sulu Class Usage Examples

Méthodes publiques

Méthode Description
getBooleanValueFromXPath ( string $path, DOMXPath $xpath, DomNode $context = null, mixed $default = null ) : boolean | null | string | mixed Returns boolean value of path.
getValueFromXPath ( string $path, DOMXPath $xpath, DomNode $context = null, mixed $default = null ) : boolean | null | string | mixed Returns value of path.

Method Details

getBooleanValueFromXPath() public static méthode

Returns boolean value of path.
public static getBooleanValueFromXPath ( string $path, DOMXPath $xpath, DomNode $context = null, mixed $default = null ) : boolean | null | string | mixed
$path string
$xpath DOMXPath
$context DomNode
$default mixed
Résultat boolean | null | string | mixed

getValueFromXPath() public static méthode

Returns value of path.
public static getValueFromXPath ( string $path, DOMXPath $xpath, DomNode $context = null, mixed $default = null ) : boolean | null | string | mixed
$path string
$xpath DOMXPath
$context DomNode
$default mixed
Résultat boolean | null | string | mixed