ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
ContextStackTrait.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
Sabre\Xml
;
4
22
trait
ContextStackTrait
{
23
35
public
$elementMap = [];
36
48
public
$contextUri
;
49
58
public
$namespaceMap
= [];
59
78
public
$classMap
= [];
79
85
protected
$contextStack
= [];
86
96
function
pushContext
() {
97
98
$this->contextStack[] = [
99
$this->elementMap,
100
$this->contextUri
,
101
$this->namespaceMap
,
102
$this->classMap
103
];
104
105
}
106
112
function
popContext
() {
113
114
list(
115
$this->elementMap,
116
$this->contextUri,
117
$this->namespaceMap,
118
$this->classMap
119
) = array_pop($this->contextStack);
120
121
}
122
123
}
Sabre\Xml\popContext
popContext()
Restore the previous "context".
Definition:
ContextStackTrait.php:112
Sabre\Xml\$namespaceMap
$namespaceMap
Definition:
ContextStackTrait.php:58
ContextStackTrait
Sabre\Xml
Definition:
ContextStackTrait.php:3
Sabre\Xml\pushContext
pushContext()
Create a new "context".
Definition:
ContextStackTrait.php:96
Sabre\Xml\$contextUri
$contextUri
Definition:
ContextStackTrait.php:48
Sabre\Xml\$classMap
$classMap
Definition:
ContextStackTrait.php:78
php
Sabre\Xml\$contextStack
$contextStack
Definition:
ContextStackTrait.php:85
libs
composer
vendor
sabre
xml
lib
ContextStackTrait.php
Generated on Thu Jan 16 2025 19:01:54 for ILIAS by
1.8.13 (using
Doxyfile
)