35 $this->_dom = new \DOMDocument(
'1.0');
36 $this->_dom->formatOutput =
true;
63 $this->_currentDom = $node;
80 $node = $this->
getDom()->createElement(preg_replace(
'/[^\w-]/i',
'', $_key));
81 $parentNode->appendChild($node);
83 if (is_array(
$_item[
'_value'])) {
84 if (isset(
$_item[
'_value'][0])) {
85 foreach (
$_item[
'_value'] as $_v) {
92 $child = $this->
getDom()->createTextNode(
$_item[
'_value']);
93 $node->appendChild($child);
95 foreach (
$_item[
'_attribute'] as $_attributeKey => $_attributeValue) {
96 $node->setAttribute($_attributeKey, $_attributeValue);
100 $node->appendChild(
$text);
117 return $this->
getDom()->saveXML();
126 $this->
getDom()->save($file);
138 $this->_defaultIndexedArrayItemName =
$name;
setIndexedArrayItemName($name)
elseif(isset( $params[ 'redirect_parent']))
$_defaultIndexedArrayItemName
const DEFAULT_ENTITY_ITEM_NAME
_getIndexedArrayItemName()
if(!isset($_GET['name'])) $name