프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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. |
메소드 | 설명 | |
---|---|---|
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[] | ||
리턴 | string[] |
protected formatLibXmlError ( LibXMLError $error ) : string | ||
$error | LibXMLError | |
리턴 | string |
protected startRecordingErrors ( ) |
protected array $errorTypes | ||
리턴 | array |