| 1 | <?php |
||
| 7 | abstract class Widget extends HtmlDoubleElement { |
||
| 8 | |||
| 9 | protected $_model; |
||
| 10 | protected $_modelInstance; |
||
| 11 | protected $_instanceViewer; |
||
| 12 | |||
| 13 | public function __construct($identifier,$model,$modelInstance=NULL) { |
||
| 20 | |||
| 21 | public function show($modelInstance){ |
||
| 24 | |||
| 25 | public function getModel() { |
||
| 28 | |||
| 29 | public function setModel($_model) { |
||
| 33 | |||
| 34 | public function getInstanceViewer() { |
||
| 37 | |||
| 38 | public function setInstanceViewer($_instanceViewer) { |
||
| 42 | |||
| 43 | public abstract function getHtmlComponent(); |
||
| 44 | |||
| 45 | public function setColor($color){ |
||
| 48 | } |