Beispiel #1
0
 public function insertContent($data = array())
 {
     if (empty($data)) {
         return false;
     }
     $data['create_time'] = NULL;
     $content_model = new ContentModel();
     $result = $content_model->insert($data);
     if (!$result) {
         return false;
     }
     return mysql_insert_id();
 }