public function asset($path, $contentType = 'null', $fullURL = true)
    {
        if (!$fullURL) {
            return base_path(__DIR__.'/../Assets/'.$path);
        }

        return url($this->backendRoute.'/asset/'.CryptoServiceFacade::url_encode($path).'/'.CryptoServiceFacade::url_encode($contentType));
    }
public function asset($path, $contentType = 'null', $fullURL = true)
    {
        if (!$fullURL) {
            return base_path(__DIR__.'/../Assets/'.$path);
        }

        return url($this->backendRoute.'/asset/'.CryptoServiceFacade::url_encode($path).'/'.CryptoServiceFacade::url_encode($contentType));
    }
public function asset ( $ path , $ contentType = 'null' , $ fullURL = true ) { if ( ! $ fullURL ) { return base_path ( __DIR__ . '/../Assets/' . $ path ) ; } return url ( $ this -> backendRoute . '/asset/' . CryptoServiceFacade :: url_encode ( $ path ) . '/' . CryptoServiceFacade :: url_encode ( $ contentType ) ) ; }
Get a module's asset.

@param string $module      Module name
@param string $path        Path to module asset
@param string $contentType Asset type

@return string
Get a module s asset .