PHP Class Gc\View\Helper\CdnBackend

Inheritance: extends Zend\View\Helper\AbstractHelper
Afficher le fichier Open project: gotcms/gotcms

Protected Properties

Свойство Type Description
$basePath string Base path
$config Gc\Core\Config Core config data
$databaseActive boolean If database is active
$request Zend\Http\PhpEnvironment\Request Request

Méthodes publiques

Méthode Description
__construct ( Zend\Http\PhpEnvironment\Request $request, Config $config = null ) Constructor
__invoke ( string $path ) : string Generates an url with the given path.

Method Details

__construct() public méthode

Constructor
public __construct ( Zend\Http\PhpEnvironment\Request $request, Config $config = null )
$request Zend\Http\PhpEnvironment\Request Http request
$config Gc\Core\Config Core config

__invoke() public méthode

Generates an url with the given path.
public __invoke ( string $path ) : string
$path string Path
Résultat string Url

Property Details

$basePath protected_oe property

Base path
protected string $basePath
Résultat string

$config protected_oe property

Core config data
protected Config,Gc\Core $config
Résultat Gc\Core\Config

$databaseActive protected_oe property

If database is active
protected bool $databaseActive
Résultat boolean

$request protected_oe property

Request
protected Request,Zend\Http\PhpEnvironment $request
Résultat Zend\Http\PhpEnvironment\Request