PHP 클래스 ezcWorkflowUtil, Workflow

파일 보기 프로젝트 열기: zetacomponents/workflow 1 사용 예제들

공개 메소드들

메소드 설명
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