/** * Initializes the URL view helper. * * @param \Aimeos\MW\View\Iface $view View instance with registered view helpers * @param \TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder $uriBuilder TYPO3 URI builder * @param array $fixed Fixed parameters that should be added to each URL */ public function __construct(\Aimeos\MW\View\Iface $view, \TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder $uriBuilder, array $fixed) { parent::__construct($view); $this->prefix = $uriBuilder->getArgumentPrefix(); $this->uriBuilder = $uriBuilder; $this->fixed = $fixed; }
/** * Initializes the URL view helper. * * @param \\Aimeos\MW\View\Iface $view View instance with registered view helpers * @param \Illuminate\Contracts\Routing\UrlGenerator $builder Laravel URL builder object * @param array Associative list of fixed parameters that should be available for all routes */ public function __construct(\Aimeos\MW\View\Iface $view, \Illuminate\Contracts\Routing\UrlGenerator $builder, array $fixed) { parent::__construct($view); $this->builder = $builder; $this->fixed = $fixed; }
/** * Initializes the URL view helper. * * @param \Aimeos\MW\View\Iface $view View instance with registered view helpers * @param \TYPO3\Flow\Mvc\Routing\UriBuilder $builder Flow URI builder object * @param array Associative list of fixed parameters that should be available for all routes */ public function __construct($view, \TYPO3\Flow\Mvc\Routing\UriBuilder $builder, array $fixed) { parent::__construct($view); $this->builder = $builder; $this->fixed = $fixed; }
/** * Initializes the URL view helper * * @param \Aimeos\MW\View\Iface $view View instance with registered view helpers * @param \Slim\Router $router Slim router object * @param array Associative list of fixed parameters that should be available for all routes */ public function __construct(\Aimeos\MW\View\Iface $view, \Slim\Router $router, array $fixed) { parent::__construct($view); $this->router = $router; $this->fixed = $fixed; }
/** * Initializes the URL view helper. * * @param \Aimeos\MW\View\Iface $view View instance with registered view helpers * @param Symfony\Component\Routing\RouterInterface $router Symfony2 Router implementation * @param array $fixed Fixed parameters that should be added to each URL */ public function __construct($view, \Symfony\Component\Routing\RouterInterface $router, array $fixed) { parent::__construct($view); $this->router = $router; $this->fixed = $fixed; }
/** * Initializes the URL view helper. * * @param \Aimeos\MW\View\Iface $view View instance with registered view helpers * @param string $baseUrl URL which acts as base for all constructed URLs */ public function __construct($view, $baseUrl) { parent::__construct($view); $this->baseUrl = rtrim($baseUrl, '/'); }