PHP Class ezcWorkflowUtil, Workflow

Afficher le fichier Open project: zetacomponents/workflow Class Usage Examples

Méthodes publiques

Méthode Description
findObject ( array $haystack, object $needle ) : mixed Finds the object $needle in an array of objects and returns the position in the $haystack
getChildNode ( DOMNode $node ) : DOMNode Wrapper around getChildNodes() that only returns the first node.
getChildNodes ( DOMNode $node ) : array Wrapper around DOMNode->childNodes that filters DOMText (whitespace) nodes.
getDefaultConfiguration ( string $className ) : mixed Returns the default configuration for a node class.
variableToString ( mixed $variable ) : string Returns a compact textual representation of a PHP variable.

Method Details

findObject() public static méthode

Finds the object $needle in an array of objects and returns the position in the $haystack
public static findObject ( array $haystack, object $needle ) : mixed
$haystack array The array of objects to search.
$needle object The object to search for.
Résultat mixed The index position at which the object is located in the array, false otherwise.

getChildNode() public static méthode

Wrapper around getChildNodes() that only returns the first node.
public static getChildNode ( DOMNode $node ) : DOMNode
$node DOMNode
Résultat DOMNode

getChildNodes() public static méthode

Wrapper around DOMNode->childNodes that filters DOMText (whitespace) nodes.
public static getChildNodes ( DOMNode $node ) : array
$node DOMNode
Résultat array

getDefaultConfiguration() public static méthode

Returns the default configuration for a node class.
public static getDefaultConfiguration ( string $className ) : mixed
$className string
Résultat mixed

variableToString() public static méthode

Returns a compact textual representation of a PHP variable.
public static variableToString ( mixed $variable ) : string
$variable mixed
Résultat string