예제 #1
0
파일: Typo3.php 프로젝트: aimeos/ai-typo3
 /**
  * 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;
 }
예제 #2
0
 /**
  * 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;
 }
예제 #3
0
파일: Flow.php 프로젝트: aimeos/ai-flow
 /**
  * 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;
 }
예제 #4
0
파일: Slim.php 프로젝트: aimeos/ai-slim
 /**
  * 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;
 }
예제 #5
0
 /**
  * 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;
 }
예제 #6
0
 /**
  * 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, '/');
 }