PHP Class Gc\View\Helper\Cdn

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
$request Zend\Http\PhpEnvironment\Request Request

Méthodes publiques

Méthode Description
__construct ( Zend\Http\PhpEnvironment\Request $request, Config $config ) 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 )
$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

$request protected_oe property

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