| | 287 | /* ----------------------------------------------------------------- */ |
|---|
| | 288 | /** |
|---|
| | 289 | * Exporte toutes les informations states brutes du compte. |
|---|
| | 290 | * @access private |
|---|
| | 291 | * EXPERIMENTAL 'sid' function ;) |
|---|
| | 292 | */ |
|---|
| | 293 | function alternc_export($tmpdir) { |
|---|
| | 294 | global $db,$err; |
|---|
| | 295 | $err->log("sta2","export"); |
|---|
| | 296 | $this->get_list_raw(); |
|---|
| | 297 | $str="<sta2>\n"; |
|---|
| | 298 | foreach ($f as $d) { |
|---|
| | 299 | $str.=" <stats>\n"; |
|---|
| | 300 | $str.=" <hostname>".xml_entities($s[hostname])."</hostname>\n"; |
|---|
| | 301 | $str.=" <folder>".xml_entities($s[folder])."</folder>\n"; |
|---|
| | 302 | $str.=" </stats>\n"; |
|---|
| | 303 | } |
|---|
| | 304 | $str.="</sta2>\n"; |
|---|
| | 305 | return $str; |
|---|
| | 306 | } |
|---|
| | 307 | |
|---|