public function getShortName()
    {
        $app = Strata::app();

        $classHash = md5(get_class($this));
        $cacheKey = "runtime.static.$classHash.shortname";

        if (!$app->hasConfig($cacheKey)) {
            $rc = new ReflectionClass($this);
            $app->setConfig($cacheKey, $rc->getShortName());
        }

        return $app->getConfig($cacheKey);
    }
public function getShortName()
    {
        $app = Strata::app();

        $classHash = md5(get_class($this));
        $cacheKey = "runtime.static.$classHash.shortname";

        if (!$app->hasConfig($cacheKey)) {
            $rc = new ReflectionClass($this);
            $app->setConfig($cacheKey, $rc->getShortName());
        }

        return $app->getConfig($cacheKey);
    }
public function getShortName ( ) { $ app = Strata :: app ( ) ; $ classHash = md5 ( get_class ( $ this ) ) ; $ cacheKey = "runtime.static.$classHash.shortname" ; if ( ! $ app -> hasConfig ( $ cacheKey ) ) { $ rc = new ReflectionClass ( $ this ) ; $ app -> setConfig ( $ cacheKey , $ rc -> getShortName ( ) ) ; } return $ app -> getConfig ( $ cacheKey ) ; }
Returns this object's class name without the full namespace.
@return string
Returns this object s class name without the full namespace .