@@ 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 | } |
@@ 1972-1973 (lines=2) @@ | ||
1969 | $link |
|
1970 | ); |
|
1971 | ||
1972 | if($child_buff) $buff .= sprintf('<node %s>%s</node>', $attribute, $child_buff); |
|
1973 | else $buff .= sprintf('<node %s />', $attribute); |
|
1974 | } |
|
1975 | return $buff; |
|
1976 | } |