@@ 29-40 (lines=12) @@ | ||
26 | $this->_toolbarPosition=PositionInTable::BEFORETABLE; |
|
27 | } |
|
28 | ||
29 | public function compile(JsUtils $js=NULL,&$view=NULL){ |
|
30 | $this->_instanceViewer->setInstance($this->_modelInstance); |
|
31 | ||
32 | $table=$this->content["table"]; |
|
33 | $this->_generateContent($table); |
|
34 | ||
35 | if(isset($this->_toolbar)){ |
|
36 | $this->_setToolbarPosition($table); |
|
37 | } |
|
38 | $this->content=JArray::sortAssociative($this->content, [PositionInTable::BEFORETABLE,"table",PositionInTable::AFTERTABLE]); |
|
39 | return parent::compile($js,$view); |
|
40 | } |
|
41 | ||
42 | /** |
|
43 | * @param HtmlTable $table |
@@ 29-40 (lines=12) @@ | ||
26 | $this->_toolbarPosition=PositionInTable::BEFORETABLE; |
|
27 | } |
|
28 | ||
29 | public function compile(JsUtils $js=NULL,&$view=NULL){ |
|
30 | $this->_instanceViewer->setInstance($this->_modelInstance); |
|
31 | ||
32 | $form=$this->content["form"]; |
|
33 | $this->_generateContent($form); |
|
34 | ||
35 | if(isset($this->_toolbar)){ |
|
36 | $this->_setToolbarPosition($form); |
|
37 | } |
|
38 | $this->content=JArray::sortAssociative($this->content, [PositionInTable::BEFORETABLE,"form",PositionInTable::AFTERTABLE]); |
|
39 | return parent::compile($js,$view); |
|
40 | } |
|
41 | ||
42 | /** |
|
43 | * @param HtmlForm $form |