1 | <?php |
||
21 | class Typo3 |
||
22 | extends \Aimeos\MW\View\Helper\Url\Base |
||
23 | implements \Aimeos\MW\View\Helper\Url\Iface |
||
24 | { |
||
25 | private $uriBuilder; |
||
26 | private $prefix; |
||
27 | private $fixed; |
||
28 | |||
29 | |||
30 | /** |
||
31 | * Initializes the URL view helper. |
||
32 | * |
||
33 | * @param \Aimeos\MW\View\Iface $view View instance with registered view helpers |
||
34 | * @param \TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder $uriBuilder TYPO3 URI builder |
||
35 | * @param array $fixed Fixed parameters that should be added to each URL |
||
36 | */ |
||
37 | public function __construct( \Aimeos\MW\View\Iface $view, \TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder $uriBuilder, array $fixed ) |
||
45 | |||
46 | |||
47 | /** |
||
48 | * Returns the URL assembled from the given arguments. |
||
49 | * |
||
50 | * @param string|null $target Route or page which should be the target of the link (if any) |
||
51 | * @param string|null $controller Name of the controller which should be part of the link (if any) |
||
52 | * @param string|null $action Name of the action which should be part of the link (if any) |
||
53 | * @param array $params Associative list of parameters that should be part of the URL |
||
54 | * @param array $trailing Trailing URL parts that are not relevant to identify the resource (for pretty URLs) |
||
55 | * @param array $config Additional configuration parameter per URL |
||
56 | * @return string Complete URL that can be used in the template |
||
57 | */ |
||
58 | public function transform( $target = null, $controller = null, $action = null, array $params = array(), array $trailing = array(), array $config = array() ) |
||
98 | |||
99 | |||
100 | /** |
||
101 | * Returns the sanitized configuration values. |
||
102 | * |
||
103 | * @param array $config Associative list of key/value pairs |
||
104 | * @return array Associative list of sanitized key/value pairs |
||
105 | */ |
||
106 | protected function getValues( array $config ) |
||
153 | } |
||
154 |