/** * */ function store() { if ($id = parent::store()) { $this->saveRelationship('byrdlist_listings'); return $id; } return false; }
/** * */ function store() { //initializing object properties $this->setSlug(); if ($id = parent::store()) { $this->saveRelationship('byrdlist_images'); return $id; } return false; }
/** * Store * */ function store() { //initializing object properties $this->cleanNumbers(); $this->getGeoLocation(); if ($id = parent::store()) { $this->saveRelationship('byrdlist_categories'); $this->saveRelationship('byrdlist_tags'); $this->saveRelationship('financials'); return $id; } return false; }
/** * */ function store() { //initializing object properties $this->setExt(); if ($id = parent::store()) { //$this->saveRelationship('listings'); $this->saveFile(); $this->purge(); if (!$this->valid()) { $this->delete(); $this->setError("106: Could not save image."); return false; } return $id; } else { $this->setError("109: Couldn't save the record."); } return false; }
/** * */ function store() { //initializing object properties $this->setExt(); if ($id = parent::store()) { $this->saveRelationship('byrdlist_listings'); $this->saveRelationship('byrdlist_categories'); $this->saveRelationship('byrdlist_websites'); $this->saveFile(); if (!$this->valid()) { $this->delete(); $this->setError("ERROR: Could not save image."); return false; } return $id; } return false; }
/** * Overloaded bind function * * @access public * @param array $hash named array * @return null|string null is operation was satisfactory, otherwise returns an error * @see JTable:bind * @since 1.5 */ function bind($array, $ignore = '') { if (key_exists('params', $array) && is_array($array['params'])) { $registry = new JRegistry(); $registry->loadArray($array['params']); $array['params'] = $registry->toString(); } return parent::bind($array, $ignore); }