function create()
 {
     $res = parent::create();
     $this->_saveMemberRoles();
     return $res;
 }
 /**
  * Save a brand new custom field to the DB
  * @return boolean
  */
 public function create()
 {
     $GLOBALS['system']->doTransaction('BEGIN');
     parent::create();
     $this->_saveOptions();
     $GLOBALS['system']->doTransaction('COMMIT');
 }
Esempio n. 3
0
 /**
  * Save a brand new note template to the DB
  * @return boolean
  */
 public function create()
 {
     $GLOBALS['system']->doTransaction('BEGIN');
     if (parent::create()) {
         $this->_saveFields();
         $GLOBALS['system']->doTransaction('COMMIT');
         return TRUE;
     }
     return FALSE;
 }
 public function create()
 {
     $res = parent::create();
     if ($res && $this->id) {
         $this->_saveCongregations();
         $this->_saveTags();
     }
     return $res;
 }
Esempio n. 5
0
 function create()
 {
     if (parent::create()) {
         $this->savePhoto();
         return TRUE;
     }
     return FALSE;
 }