@@ 724-727 (lines=4) @@ | ||
721 | $this->checkNode(false); |
|
722 | $item = $this->owner->getAttribute($this->itemAttribute); |
|
723 | ||
724 | if ($item !== null) { |
|
725 | $path = $this->node->getAttribute($this->pathAttribute); |
|
726 | $this->owner->setAttribute($this->pathAttribute, $path . $this->delimiter . $item); |
|
727 | } |
|
728 | ||
729 | $this->owner->setAttribute($this->depthAttribute, $this->node->getAttribute($this->depthAttribute) + 1); |
|
730 | ||
@@ 761-764 (lines=4) @@ | ||
758 | $this->checkNode(true); |
|
759 | $item = $this->owner->getAttribute($this->itemAttribute); |
|
760 | ||
761 | if ($item !== null) { |
|
762 | $path = $this->getParentPath($this->node->getAttribute($this->pathAttribute)); |
|
763 | $this->owner->setAttribute($this->pathAttribute, $path . $this->delimiter . $item); |
|
764 | } |
|
765 | ||
766 | $this->owner->setAttribute($this->depthAttribute, $this->node->getAttribute($this->depthAttribute)); |
|
767 |