Пример #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);
 }
Пример #2
0
Файл: addon.php Проект: 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);
 }