Example #1
0
 public function getValue($filters = null, $defaultValue = null)
 {
     return parent::getValue($filters, $defaultValue);
 }
Example #2
0
 /**
  * @param \Phalcon\Http\Cookie $auth
  * @return Users
  */
 public static function findByCookieAuth(\Phalcon\Http\Cookie $auth)
 {
     $data = explode('::', $auth->getValue());
     return self::findFirst($data[1]);
 }