1 | <?php |
||
26 | class View |
||
27 | { |
||
28 | /** |
||
29 | * @var Screen $oScreen |
||
30 | */ |
||
31 | private $oScreen; |
||
32 | |||
33 | public function __construct() |
||
37 | |||
38 | /** |
||
39 | * @param \mrcnpdlk\Grandstream\XMLApp\Application\Model\Components\ElemInterface $oElement |
||
40 | * |
||
41 | * @return $this |
||
42 | */ |
||
43 | public function addElem(ElemInterface $oElement) |
||
49 | |||
50 | /** |
||
51 | * @param SoftKey $oSoftkey |
||
52 | * |
||
53 | * @return View |
||
54 | */ |
||
55 | public function addSoftkey(SoftKey $oSoftkey) |
||
61 | |||
62 | /** |
||
63 | * @param \mrcnpdlk\Grandstream\XMLApp\Application\Model\Event $oEvent |
||
64 | * |
||
65 | * @return \mrcnpdlk\Grandstream\XMLApp\Application\View |
||
66 | */ |
||
67 | public function addEvent(Event $oEvent) |
||
73 | |||
74 | /** |
||
75 | * @param \mrcnpdlk\Grandstream\XMLApp\Application\Model\Container $oContainer |
||
76 | * |
||
77 | * @return \mrcnpdlk\Grandstream\XMLApp\Application\View |
||
78 | */ |
||
79 | public function addContainer(Container $oContainer) |
||
87 | |||
88 | /** |
||
89 | * @param bool $isVisible |
||
90 | * |
||
91 | * @return View |
||
92 | */ |
||
93 | public function setVisibleStatusLine(bool $isVisible = true) |
||
99 | |||
100 | /** |
||
101 | * @return string |
||
102 | */ |
||
103 | public function asTxt() |
||
107 | |||
108 | } |
||
109 |