public function getValue() { if (parent::hasValue()) { return parent::getValue(); } else { return false; } }
public function reset() { parent::reset(); $this->_query = new Ajde_Query(); $this->_filters = array(); $this->_filterValues = array(); $this->_sqlInitialized = false; }
public function set($key, $value) { parent::set($key, $value); if ($value instanceof Ajde_Model) { // TODO: throw new Ajde_Exception('It is not allowed to store a Model directly in a cookie, use Ajde_Cookie::setModel() instead.'); } $this->_setcookie(serialize($this->values()), time() + 60 * 60 * 24 * $this->_lifetime); }
public function reset() { parent::reset(); $this->_query = new Ajde_Query(); $this->_filters = []; $this->_filterValues = []; $this->_items = null; $this->_position = 0; $this->_queryCount = null; $this->_sqlInitialized = false; }
/** * * @return Ajde_Shop_Transaction */ protected function getTransaction() { return parent::getTransaction(); }
public function getMainFilterGrouper() { return parent::getMainFilterGrouper(); }
public function getSessionName() { if (parent::hasSessionName()) { return parent::getSessionName(); } else { return (string) $this->getModel()->getTable(); } }
public function set($key, $value) { parent::set($key, $value); if ($value instanceof Ajde_Model) { // TODO: throw new Ajde_Exception('It is not allowed to store a Model directly in the session, use Ajde_Session::setModel() instead.'); } $_SESSION[$this->_namespace][$key] = $value; }
protected function _set($key, $value) { parent::_set($key, $value); return $this; }
public function reset() { parent::reset(); $this->_items = null; $this->_position = 0; }
/** * * @return Ajde_Shop_Transaction */ public function getTransaction() { return parent::getTransaction(); }
public function getValidationErrors() { return parent::getValidationErrors(); }
public function getFilter() { return parent::getFilter(); }
public function getIsAutoIncrement() { return parent::getIsAutoIncrement(); }
public function getIsUnique() { return parent::getIsUnique(); }
public function decrypt($field) { if (!$this->isEncrypted($field)) { return parent::_get($field); } $decrypted = str_replace(self::ENCRYPTION_PREFIX . config('security.secret'), '', Ajde_Component_String::decrypt(parent::_get($field))); return $decrypted; }