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'); }
/** * 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; }
function create() { if (parent::create()) { $this->savePhoto(); return TRUE; } return FALSE; }