1 | <?php |
||
21 | abstract class AbstractController extends \Neos\Flow\Mvc\Controller\ActionController |
||
22 | { |
||
23 | /** |
||
24 | * @var \Aimeos\Shop\Base\Aimeos |
||
25 | * @Flow\Inject |
||
26 | */ |
||
27 | protected $aimeos; |
||
28 | |||
29 | /** |
||
30 | * @var \Aimeos\Shop\Base\Context |
||
31 | * @Flow\Inject |
||
32 | */ |
||
33 | protected $context; |
||
34 | |||
35 | /** |
||
36 | * @var \Aimeos\Shop\Base\Shop |
||
37 | * @Flow\Inject |
||
38 | */ |
||
39 | protected $shop; |
||
40 | |||
41 | /** |
||
42 | * @var \Aimeos\Shop\Base\View |
||
43 | * @Flow\Inject |
||
44 | */ |
||
45 | protected $viewContainer; |
||
46 | |||
47 | |||
48 | /** |
||
49 | * Returns the output of the client and adds the header. |
||
50 | * |
||
51 | * @param string $clientName Html client name |
||
52 | * @return string HTML code for inserting into the HTML body |
||
53 | */ |
||
54 | protected function getOutput( $clientName ) |
||
69 | |||
70 | |||
71 | /** |
||
72 | * Returns the body and header output for the given page name |
||
73 | * |
||
74 | * @param string $name Page name as defined in the Settings.yaml file |
||
75 | */ |
||
76 | protected function get( $name ) |
||
80 | } |
||
81 |