Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
Public Member Functions | |
validate ($interchange) | |
Validates a fully-formed interchange object. | |
validateDirective ($d) | |
Validates a HTMLPurifier_ConfigSchema_Interchange_Directive object. | |
validateDirectiveAliases ($d) | |
Extra validation if $aliases member variable of HTMLPurifier_ConfigSchema_Interchange_Directive is defined. | |
validateDirectiveAllowed ($d) | |
Extra validation if $allowed member variable of HTMLPurifier_ConfigSchema_Interchange_Directive is defined. | |
validateDirectiveValueAliases ($d) | |
Extra validation if $valueAliases member variable of HTMLPurifier_ConfigSchema_Interchange_Directive is defined. | |
validateId ($id) | |
Validates a HTMLPurifier_ConfigSchema_Interchange_Id object. | |
Protected Member Functions | |
error ($target, $msg) | |
Emits an error, providing helpful context. | |
getFormattedContext () | |
Returns a formatted context string. | |
with ($obj, $member) | |
Convenience function for generating HTMLPurifier_ConfigSchema_ValidatorAtom for validating simple member variables of objects. | |
Protected Attributes | |
$aliases | |
@type array | |
$context = array() | |
Context-stack to provide easy to read error messages. | |
$interchange | |
@type HTMLPurifier_ConfigSchema_Interchange | |
$parser | |
to test default's type. | |
|
protected |
Emits an error, providing helpful context.
HTMLPurifier_ConfigSchema_Exception |
|
protected |
Returns a formatted context string.
string |
HTMLPurifier_ConfigSchema_Validator::validate | ( | $interchange | ) |
Validates a fully-formed interchange object.
HTMLPurifier_ConfigSchema_Interchange | $interchange |
bool |
HTMLPurifier_ConfigSchema_Validator::validateDirective | ( | $d | ) |
Validates a HTMLPurifier_ConfigSchema_Interchange_Directive object.
HTMLPurifier_ConfigSchema_Interchange_Directive | $d |
HTMLPurifier_ConfigSchema_Validator::validateDirectiveAliases | ( | $d | ) |
Extra validation if $aliases member variable of HTMLPurifier_ConfigSchema_Interchange_Directive is defined.
HTMLPurifier_ConfigSchema_Interchange_Directive | $d |
HTMLPurifier_ConfigSchema_Validator::validateDirectiveAllowed | ( | $d | ) |
Extra validation if $allowed member variable of HTMLPurifier_ConfigSchema_Interchange_Directive is defined.
HTMLPurifier_ConfigSchema_Interchange_Directive | $d |
HTMLPurifier_ConfigSchema_Validator::validateDirectiveValueAliases | ( | $d | ) |
Extra validation if $valueAliases member variable of HTMLPurifier_ConfigSchema_Interchange_Directive is defined.
HTMLPurifier_ConfigSchema_Interchange_Directive | $d |
HTMLPurifier_ConfigSchema_Validator::validateId | ( | $id | ) |
Validates a HTMLPurifier_ConfigSchema_Interchange_Id object.
HTMLPurifier_ConfigSchema_Interchange_Id | $id |
|
protected |
Convenience function for generating HTMLPurifier_ConfigSchema_ValidatorAtom for validating simple member variables of objects.
$obj | |
$member |
HTMLPurifier_ConfigSchema_ValidatorAtom |
|
protected |
Context-stack to provide easy to read error messages.
@type array
|
protected |
to test default's type.
@type HTMLPurifier_VarParser