コード例 #1
0
ファイル: addon.php プロジェクト: jalmelb/24hl2015
 /**
  * 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);
 }