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