Метод |
Описание |
|
assertNode ( mixed $node, string $message = 'DOMNode expected, got: %s.' ) : boolean |
|
|
hasOption ( integer $options, integer $option ) : boolean |
Check options bitmask for an option |
|
isCallable ( mixed $callback, boolean $allowGlobalFunctions = FALSE, boolean $silent = TRUE ) : callable | null |
check if parameter is a valid callback function. It returns
the callable or NULL. |
|
isNode ( mixed $node, boolean $ignoreTextNodes = FALSE ) : DOMElement | DOMText | DOMCdataSection |
Check if the DOMNode is DOMElement or DOMText with content. |
|
isNodeList ( mixed $elements ) : Traversable | array |
Check if $elements is a traversable node list. It returns
the $elements or NULL |
|