| @@ 2013-2014 (lines=2) @@ | ||
| 2010 | $node->document_count |
|
| 2011 | ); |
|
| 2012 | ||
| 2013 | if($child_buff) $buff .= sprintf('<node %s>%s</node>', $attribute, $child_buff); |
|
| 2014 | else $buff .= sprintf('<node %s />', $attribute); |
|
| 2015 | } |
|
| 2016 | return $buff; |
|
| 2017 | } |
|
| @@ 1965-1966 (lines=2) @@ | ||
| 1962 | $link |
|
| 1963 | ); |
|
| 1964 | ||
| 1965 | if($child_buff) $buff .= sprintf('<node %s>%s</node>', $attribute, $child_buff); |
|
| 1966 | else $buff .= sprintf('<node %s />', $attribute); |
|
| 1967 | } |
|
| 1968 | return $buff; |
|
| 1969 | } |
|