Esempio 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);
 }
Esempio n. 2
0
File: addon.php Progetto: 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);
 }