Свойство | Type | Description | |
---|---|---|---|
$errorTypes | array | Textual mapping for libxml error type constants. | |
$useInternalErrors | null | boolean | When recording errors holds previous setting for libxml user error handling, null otherwise. |
Méthode | Description | |
---|---|---|
collectErrors ( ) : string[] | Returns formatted errors from libxml error buffer and restores previous setting for libxml error handling. | |
formatLibXmlError ( LibXMLError $error ) : string | Formats libxml error object as a string. | |
loadFile ( string $path ) : DOMDocument | Returns DOMDocument object loaded from given XML file $path. | |
startRecordingErrors ( ) | Enables user handling of libxml errors and clears error buffer. |
protected collectErrors ( ) : string[] | ||
Résultat | string[] |
protected formatLibXmlError ( LibXMLError $error ) : string | ||
$error | LibXMLError | |
Résultat | string |
protected startRecordingErrors ( ) |
protected array $errorTypes | ||
Résultat | array |