Ejemplo n.º 1
0
 /**
  * Checks to see if a given key exists in the session within this addon's namespace
  *
  * @param string  $key  Key to check
  * @return boolean
  */
 public function exists($key)
 {
     return Session::isKey($this->type, $this->context->getAddonName(), $key);
 }
Ejemplo n.º 2
0
Archivo: addon.php Proyecto: nob/joi
 /**
  * Checks to see if a given key exists in the session within this plugin's namespace
  *
  * @param string  $key  Key to check
  * @return boolean
  */
 public function exists($key)
 {
     return Session::isKey($this->context->addon_name, $key);
 }