예제 #1
0
 private function saveClassInfo($class_info)
 {
     $class = new Acad_Model_Class();
     try {
         $class_id = $class->saveInfo($class_info);
         Zend_Registry::get('logger')->debug('New class added,$class_id = ' . $class_id);
         return $class_id;
     } catch (Exception $e) {
         return false;
     }
 }