Example #1
0
 function new_answer($data)
 {
     $answer = new sub_entry();
     $answer->set_data($data);
     $answer->history = $this->history;
     $answer->history[0] =& $this;
     $answer->insert();
     return $answer;
 }