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