ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Namespaces | |
Deserializer | |
Element | |
Serializer | |
Data Structures | |
class | ContextStackTest |
Test for the ContextStackTrait. More... | |
interface | Element |
This is the XML element interface. More... | |
class | InfiteLoopTest |
class | LibXMLException |
This exception is thrown when the Readers runs into a parsing error. More... | |
class | Order |
asset for testMapValueObject() More... | |
class | OrderStatus |
asset for testMapValueObject() More... | |
class | ParseException |
This is a base exception for any exception related to parsing xml files. More... | |
class | Reader |
The Reader class expands upon PHP's built-in XMLReader. More... | |
class | ReaderTest |
class | Service |
XML parsing and writing service. More... | |
class | ServiceTest |
class | Version |
This class contains the version number for this package. More... | |
class | Writer |
The XML Writer class. More... | |
class | WriterTest |
interface | XmlDeserializable |
Implementing the XmlDeserializable interface allows you to use a class as a deserializer for a specific element. More... | |
interface | XmlSerializable |
Objects implementing XmlSerializable can control how they are represented in Xml. More... | |
Functions | |
pushContext () | |
Create a new "context". More... | |
popContext () | |
Restore the previous "context". More... | |
Variables | |
trait | ContextStackTrait |
Context Stack. More... | |
$contextUri | |
$namespaceMap = [] | |
$classMap = [] | |
$contextStack = [] | |
Sabre\Xml\popContext | ( | ) |
Restore the previous "context".
Definition at line 112 of file ContextStackTrait.php.
Referenced by Sabre\Xml\Reader\parseInnerTree().
Sabre\Xml\pushContext | ( | ) |
Create a new "context".
This allows you to safely modify the elementMap, contextUri or namespaceMap. After you're done, you can restore the old data again with popContext.
Definition at line 96 of file ContextStackTrait.php.
References Sabre\Xml\$classMap, Sabre\Xml\$contextUri, and Sabre\Xml\$namespaceMap.
Referenced by Sabre\Xml\Reader\parseInnerTree().
Sabre::Xml\$classMap = [] |
Definition at line 78 of file ContextStackTrait.php.
Referenced by ComposerAutoloaderInit2fffdf922cf8fdbf1f62eec345993c83\getLoader(), ilCertificateAppEventListener\handleNewMigratedUserCertificate(), and Sabre\Xml\pushContext().
|
protected |
Definition at line 85 of file ContextStackTrait.php.
Sabre::Xml\$contextUri |
Definition at line 48 of file ContextStackTrait.php.
Referenced by Sabre\Xml\Service\expect(), Sabre\Xml\Service\parse(), Sabre\Xml\pushContext(), Sabre\Xml\Service\write(), and Sabre\Xml\Service\writeValueObject().
Sabre::Xml\$namespaceMap = [] |
Definition at line 58 of file ContextStackTrait.php.
Referenced by Sabre\Xml\pushContext().
trait Sabre::Xml\ContextStackTrait |
Context Stack.
The Context maintains information about a document during either reading or writing.
During this process, it may be neccesary to override this context information.
This trait allows easy access to the context, and allows the end-user to override its settings for document fragments, and easily restore it again later.
Definition at line 22 of file ContextStackTrait.php.