PHP Класс ezcWorkflowUtil, Workflow

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

findObject() публичный статический Метод

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.
Результат mixed The index position at which the object is located in the array, false otherwise.

getChildNode() публичный статический Метод

Wrapper around getChildNodes() that only returns the first node.
public static getChildNode ( DOMNode $node ) : DOMNode
$node DOMNode
Результат DOMNode

getChildNodes() публичный статический Метод

Wrapper around DOMNode->childNodes that filters DOMText (whitespace) nodes.
public static getChildNodes ( DOMNode $node ) : array
$node DOMNode
Результат array

getDefaultConfiguration() публичный статический Метод

Returns the default configuration for a node class.
public static getDefaultConfiguration ( string $className ) : mixed
$className string
Результат mixed

variableToString() публичный статический Метод

Returns a compact textual representation of a PHP variable.
public static variableToString ( mixed $variable ) : string
$variable mixed
Результат string