예제 #1
0
 function setContent($new_content)
 {
     $data = new XMLNode("data", array("id" => "data"));
     for ($i = 0; $i < count($new_content); $i++) {
         $data->addChild($new_content[$i]);
     }
     $this->content->xml->addChild($data);
 }