Moodle PHP Documentation 4.1
Moodle 4.1.19+ (Build: 20250706) (3342f23b299)
Box\Spout\Reader\Wrapper Namespace Reference

  More...

Classes

class  XMLReader
 

Functions

 resetXMLInternalErrorsSetting ()
 
 resetXMLInternalErrorsSettingAndThrowIfXMLErrorOccured ()
 Throws an XMLProcessingException if an error occured.
 
 useXMLInternalErrors ()
 To avoid displaying lots of warning/error messages on screen, stores errors internally instead.
 

Variables

trait XMLInternalErrorsHelper
 

Detailed Description

 

Function Documentation

◆ resetXMLInternalErrorsSetting()

Box\Spout\Reader\Wrapper\resetXMLInternalErrorsSetting ( )
protected
Return values
void

◆ resetXMLInternalErrorsSettingAndThrowIfXMLErrorOccured()

Box\Spout\Reader\Wrapper\resetXMLInternalErrorsSettingAndThrowIfXMLErrorOccured ( )
protected

Throws an XMLProcessingException if an error occured.

It also always resets the "libxml_use_internal_errors" setting back to its initial value.

Exceptions
Box\Spout\Reader\Exception\XMLProcessingException
Return values
void

◆ useXMLInternalErrors()

Box\Spout\Reader\Wrapper\useXMLInternalErrors ( )
protected

To avoid displaying lots of warning/error messages on screen, stores errors internally instead.

Return values
void

Variable Documentation

◆ XMLInternalErrorsHelper

trait Box::Spout::Reader::Wrapper\XMLInternalErrorsHelper
Initial value:
{
protected bool $initialUseInternalErrorsValue