public static function GetExtensionName()
    {
        self::CheckBackend();

        $name = self::$backend->Get("name");

        if(strlen($name) <= 0)
        {
            $dir_parts = explode(
                "/",
                str_replace("\\", "/", self::$backend->directory)
            );

            $name = $dir_parts[count($dir_parts) - 1];
        }

        return $name;
    }
public static function GetExtensionName()
    {
        self::CheckBackend();

        $name = self::$backend->Get("name");

        if(strlen($name) <= 0)
        {
            $dir_parts = explode(
                "/",
                str_replace("\\", "/", self::$backend->directory)
            );

            $name = $dir_parts[count($dir_parts) - 1];
        }

        return $name;
    }
public static function GetExtensionName ( ) { self :: CheckBackend ( ) ; $ name = self :: $ backend -> Get ( "name" ) ; if ( strlen ( $ name ) <= 0 ) { $ dir_parts = explode ( "/" , str_replace ( "\\" , "/" , self :: $ backend -> directory ) ) ; $ name = $ dir_parts [ count ( $ dir_parts ) - 1 ] ; } return $ name ; }
Get the current extension name.
@return string
Get the current extension name .