@@ -10,15 +10,15 @@ |
||
| 10 | 10 | protected $_modelInstance; |
| 11 | 11 | protected $_instanceViewer; |
| 12 | 12 | |
| 13 | - public function __construct($identifier,$model,$modelInstance=NULL) { |
|
| 13 | + public function __construct($identifier, $model, $modelInstance=NULL) { |
|
| 14 | 14 | parent::__construct($identifier); |
| 15 | 15 | $this->_template="%wrapContentBefore%%content%%wrapContentAfter%"; |
| 16 | 16 | $this->setModel($model); |
| 17 | - if(isset($modelInstance)); |
|
| 17 | + if (isset($modelInstance)); |
|
| 18 | 18 | $this->show($modelInstance); |
| 19 | 19 | } |
| 20 | 20 | |
| 21 | - public function show($modelInstance){ |
|
| 21 | + public function show($modelInstance) { |
|
| 22 | 22 | $this->_modelInstance=$modelInstance; |
| 23 | 23 | } |
| 24 | 24 | |