Example #1
0
 /**
  * Returns the name of the cached key, based on the value name and the calling module
  *
  * @param string $value Value name
  * @param AbstractModule $mod Calling module
  * @return string Cached key name
  */
 protected function getKeyName($value, AbstractModule $mod = null)
 {
     $this->checkInit();
     $mod_name = 'myartjaub';
     if ($mod !== null) {
         $mod_name = $mod->getName();
     }
     return $mod_name . '_' . $value;
 }