Example #1
0
 /**
  * data  = array from ajax call 
  */
 public function insertEntry($data = null)
 {
     $entry = new Model_Entry();
     $insert = $entry->insertEntry($data);
     $this->setResponse($insert);
 }