@@ 423-429 (lines=7) @@ | ||
420 | public function toString( $indentWith = null ) { |
|
421 | foreach ( $this->attributes as $name => $value ) { |
|
422 | $position = 0; |
|
423 | foreach ( $this as $node ) { |
|
424 | if ($node instanceof ar_xmlElement) { |
|
425 | $appliedValue = $this->_applyValues($value, $position); |
|
426 | $node->setAttribute( $name, $appliedValue ); |
|
427 | $position++; |
|
428 | } |
|
429 | } |
|
430 | } |
|
431 | $result = ''; |
|
432 | ||
@@ 513-519 (lines=7) @@ | ||
510 | } |
|
511 | } |
|
512 | $position = 0; |
|
513 | foreach ( $this as $node ) { |
|
514 | if ($node instanceof ar_xmlElement) { |
|
515 | $appliedValue = $this->_applyValues($value, $position); |
|
516 | $node->setAttribute( $name, $appliedValue ); |
|
517 | $position++; |
|
518 | } |
|
519 | } |
|
520 | return $this; |
|
521 | } |
|
522 |