1 | <?php |
||
32 | class View |
||
33 | { |
||
34 | /** |
||
35 | * @var Screen $oScreen |
||
36 | */ |
||
37 | private $oScreen; |
||
38 | |||
39 | public function __construct() |
||
43 | |||
44 | /** |
||
45 | * @param \mrcnpdlk\Grandstream\XMLApp\Application\Model\Components\ElemInterface $oElement |
||
46 | * |
||
47 | * @return $this |
||
48 | */ |
||
49 | public function addElem(ElemInterface $oElement) |
||
55 | |||
56 | /** |
||
57 | * @param SoftKey $oSoftkey |
||
58 | * |
||
59 | * @return View |
||
60 | */ |
||
61 | public function addSoftkey(SoftKey $oSoftkey) |
||
67 | |||
68 | /** |
||
69 | * @param \mrcnpdlk\Grandstream\XMLApp\Application\Model\Event $oEvent |
||
70 | * |
||
71 | * @return \mrcnpdlk\Grandstream\XMLApp\Application\View |
||
72 | */ |
||
73 | public function addEvent(Event $oEvent) |
||
79 | |||
80 | /** |
||
81 | * @param \mrcnpdlk\Grandstream\XMLApp\Application\Model\Container $oContainer |
||
82 | * |
||
83 | * @return \mrcnpdlk\Grandstream\XMLApp\Application\View |
||
84 | */ |
||
85 | public function addContainer(Container $oContainer) |
||
93 | |||
94 | /** |
||
95 | * @param bool $isVisible |
||
96 | * |
||
97 | * @return View |
||
98 | */ |
||
99 | public function setVisibleStatusLine(bool $isVisible = true) |
||
105 | |||
106 | /** |
||
107 | * @return string |
||
108 | */ |
||
109 | public function asTxt() |
||
113 | |||
114 | } |
||
115 |