1 | <?php |
||
19 | class Page |
||
20 | { |
||
21 | /** |
||
22 | * @var \Illuminate\Contracts\Config\Repository |
||
23 | */ |
||
24 | private $config; |
||
25 | |||
26 | /** |
||
27 | * @var \Aimeos\Shop\Base\Aimeos |
||
28 | */ |
||
29 | private $aimeos; |
||
30 | |||
31 | /** |
||
32 | * @var \Aimeos\Shop\Base\Context |
||
33 | */ |
||
34 | private $context; |
||
35 | |||
36 | /** |
||
37 | * @var \Aimeos\Shop\Base\Locale |
||
38 | */ |
||
39 | private $locale; |
||
40 | |||
41 | /** |
||
42 | * @var \Aimeos\Shop\Base\View |
||
43 | */ |
||
44 | private $view; |
||
45 | |||
46 | |||
47 | /** |
||
48 | * Initializes the object |
||
49 | * |
||
50 | * @param \Illuminate\Contracts\Config\Repository $config Configuration object |
||
51 | * @param \Aimeos\Shop\Base\Aimeos $aimeos Aimeos object |
||
52 | * @param \Aimeos\Shop\Base\Context $context Context object |
||
53 | * @param \Aimeos\Shop\Base\Locale $locale Locale object |
||
54 | * @param \Aimeos\Shop\Base\View $view View object |
||
55 | */ |
||
56 | public function __construct( \Illuminate\Contracts\Config\Repository $config, |
||
66 | |||
67 | |||
68 | /** |
||
69 | * Returns the body and header sections created by the clients configured for the given page name. |
||
70 | * |
||
71 | * @param string $pageName Name of the configured page |
||
72 | * @return array Associative list with body and header output separated by client name |
||
73 | */ |
||
74 | public function getSections( $pageName ) |
||
97 | } |