PHP Class Sulu\Component\Util\XmlUtil

Mostrar archivo Open project: sulu/sulu Class Usage Examples

Public Methods

Method 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 method

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
return boolean | null | string | mixed

getValueFromXPath() public static method

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
return boolean | null | string | mixed