123        if (
$name[0] === 
'{') {
 
  128            if (array_key_exists(
$namespace, $this->namespaceMap)) {
 
  129                $result = $this->startElementNS(
 
  142                    if (!isset($this->adhocNamespaces[
$namespace])) {
 
  143                        $this->adhocNamespaces[
$namespace] = 
'x' . (count($this->adhocNamespaces) + 1);
 
  153        if (!$this->namespacesWritten) {
 
  155            foreach ($this->namespaceMap as 
$namespace => $prefix) {
 
  158            $this->namespacesWritten = 
true;
 
  192        if (!is_null($content)) {
 
  193            $this->
write($content);
 
  232        if (
$name[0] === 
'{') {
 
  239            if (array_key_exists(
$namespace, $this->namespaceMap)) {
 
  242                    $this->namespaceMap[
$namespace] . 
':' . $localName,
 
  248                if (!isset($this->adhocNamespaces[
$namespace])) {
 
  249                    $this->adhocNamespaces[
$namespace] = 
'x' . (count($this->adhocNamespaces) + 1);
 
  251                $this->writeAttributeNS(
 
  261            return parent::writeAttribute(
$name, $value);
 
An exception for terminatinating execution or to throw for unit testing.
static parseClarkNotation($str)
Parses a clark-notation string, and returns the namespace and element name components.
writeAttribute($name, $value)
Writes a new attribute.
writeElement($name, $content=null)
Write a full element tag and it's contents.
startElement($name)
Opens a new element.
write($value)
Writes a value to the output stream.
writeAttributes(array $attributes)
Writes a list of attributes.
if($err=$client->getError()) $namespace
if(array_key_exists('yes', $_REQUEST)) $attributes
standardSerializer(Writer $writer, $value)
This function is the 'default' serializer that is able to serialize most things, and delegates to oth...
trait ContextStackTrait
Context Stack.