Esempio n. 1
0
 /**
  * Computes the (distinct) name of the asset
  *
  * @return  string
  * @since   2.0.0
  */
 private function getAssetName()
 {
     // @FIXME: this scheme won't always work...
     //          * namespace isn't always defined, at which point the model name is the namespace
     //          * namespace might be something like time_hub, which should become time.hub
     //          * non-integer ids will fail
     return strtolower("com_{$this->model->getNamespace()}.{$this->model->getModelName()}.") . (int) $this->model->getPkValue();
 }