24 $this->value = $value;
35 if (isset($xmlElement->key)) { $this->key = (string)$xmlElement->key; }
36 if (isset($xmlElement->value)) { $this->value = (string)$xmlElement->value; }
45 $xml =
new SimpleXMLElement(
"<?xml version=\"1.0\"?><account_placeholder></account_placeholder>");
49 $xml->addChild(
"key", $this->key);
53 $node = dom_import_simplexml($xml->value);
54 $no = $node->ownerDocument;
55 $node->appendChild($no->createCDATASection($this->value));
68 return "AccountPlaceholder [key=" . $this->key .
", "
69 .
"value=" . $this->value .
"]";
__construct($key=null, $value=null)