@@ -32,6 +32,10 @@ discard block |
||
| 32 | 32 | protected $_targetSelector; |
| 33 | 33 | |
| 34 | 34 | |
| 35 | + /** |
|
| 36 | + * @param string $identifier |
|
| 37 | + * @param string $model |
|
| 38 | + */ |
|
| 35 | 39 | public function __construct($identifier,$model,$modelInstance=NULL) { |
| 36 | 40 | parent::__construct($identifier, $model,$modelInstance); |
| 37 | 41 | $this->_init(new InstanceViewer($identifier), "table", new HtmlTable($identifier, 0,0), false); |
@@ -55,6 +59,9 @@ discard block |
||
| 55 | 59 | |
| 56 | 60 | |
| 57 | 61 | |
| 62 | + /** |
|
| 63 | + * @param string $op |
|
| 64 | + */ |
|
| 58 | 65 | protected function _generateBehavior($op,$params,JsUtils $js){ |
| 59 | 66 | if(isset($this->_urls[$op])){ |
| 60 | 67 | $params=\array_merge($params,["attr"=>"data-ajax"]); |
@@ -184,6 +191,9 @@ discard block |
||
| 184 | 191 | return $this; |
| 185 | 192 | } |
| 186 | 193 | |
| 194 | + /** |
|
| 195 | + * @param PositionInTable $part |
|
| 196 | + */ |
|
| 187 | 197 | private function addToolbarRow($part,$table,$captions){ |
| 188 | 198 | $hasPart=$table->hasPart($part); |
| 189 | 199 | if($hasPart){ |