Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
|
Static Public Member Functions | |
static | assertNotTag ($matcher, $actual, $message='', $ishtml=true) |
Note: we are overriding this method to remove the deprecated error. | |
static | assertTag ($matcher, $actual, $message='', $ishtml=true) |
Note: we are overriding this method to remove the deprecated error. | |
static | assertValidKeys (array $hash, array $validKeys) |
Validate list of keys in the associative array. | |
static | findNodes (DOMDocument $dom, array $options, $isHtml=true) |
Parse out the options from the tag using DOM object tree. | |
Static Protected Member Functions | |
static | getDescendants (DOMNode $node) |
Recursively get flat array of all descendants of this node. | |
static | getElementsByCaseInsensitiveTagName (DOMDocument $dom, $tag) |
Gets elements by case insensitive tagname. | |
static | getNodeText (DOMNode $node) |
Get the text value of this node's child text node. | |
|
static |
Note: we are overriding this method to remove the deprecated error.
array | $matcher | |
string | $actual | |
string | $message | |
boolean | $ishtml |
|
static |
Note: we are overriding this method to remove the deprecated error.
array | $matcher | |
string | $actual | |
string | $message | |
boolean | $ishtml |
|
static |
Validate list of keys in the associative array.
array | $hash | |
array | $validKeys |
array |
PHPUnit::Framework::Exception |
|
static |
Parse out the options from the tag using DOM object tree.
DOMDocument | $dom | |
array | $options | |
bool | $isHtml |
array |
|
staticprotected |
Recursively get flat array of all descendants of this node.
DOMNode | $node |
array |
|
staticprotected |
Gets elements by case insensitive tagname.
DOMDocument | $dom | |
string | $tag |
DOMNodeList |
|
staticprotected |
Get the text value of this node's child text node.
DOMNode | $node |
string |