public function store() { if (!$this->check()) { return false; } $this->resolveLocation($this->location); return parent::store(); }
public function store() { if (empty($source)) { $source = $this; } if (!$this->check()) { return false; } if (!parent::store()) { return false; } $this->setError(''); return true; }
public function store() { return parent::store(); }
/** * Overrides parent store function as we need to clean up some variables **/ public function store() { if (!$this->check()) { return false; } $this->image = JString::str_ireplace('\\', '/', $this->image); $this->thumbnail = JString::str_ireplace('\\', '/', $this->thumbnail); $this->original = JString::str_ireplace('\\', '/', $this->original); return parent::store(); }
public function store() { if (!$this->check()) { return false; } if (empty($this->latitude) || empty($this->longitude)) { $this->resolveLocation($this->location); } return parent::store(); }
/** * Binds an array into this object's property * * @access public * @param $data mixed An associative array or object **/ public function store() { if (!$this->check()) { return false; } // Update activities as necessary $activityModel = CFactory::getModel('activities'); $activityModel->update(array('groupid' => $this->id), array('group_access' => $this->approvals)); return parent::store(); }
/** * Binds an array into this object's property * * @access public * @param $data mixed An associative array or object **/ function store() { if (!$this->check()) { return false; } return parent::store(); }