| @@ 509-518 (lines=10) @@ | ||
| 506 | * @param $asset |
|
| 507 | * @return $this |
|
| 508 | */ |
|
| 509 | public function addAsset($collection, $asset) |
|
| 510 | { |
|
| 511 | if (!isset($this->assets[$collection])) { |
|
| 512 | $this->assets[$collection] = []; |
|
| 513 | } |
|
| 514 | ||
| 515 | $this->assets[$collection][] = $asset; |
|
| 516 | ||
| 517 | return $this; |
|
| 518 | } |
|
| 519 | ||
| 520 | /** |
|
| 521 | * Get the table's stream. |
|
| @@ 252-261 (lines=10) @@ | ||
| 249 | * @param $asset |
|
| 250 | * @return $this |
|
| 251 | */ |
|
| 252 | public function addAsset($collection, $asset) |
|
| 253 | { |
|
| 254 | if (!isset($this->assets[$collection])) { |
|
| 255 | $this->assets[$collection] = []; |
|
| 256 | } |
|
| 257 | ||
| 258 | $this->assets[$collection][] = $asset; |
|
| 259 | ||
| 260 | return $this; |
|
| 261 | } |
|
| 262 | ||
| 263 | /** |
|
| 264 | * Get the grid's stream. |
|
| @@ 319-328 (lines=10) @@ | ||
| 316 | * @param $asset |
|
| 317 | * @return $this |
|
| 318 | */ |
|
| 319 | public function addAsset($collection, $asset) |
|
| 320 | { |
|
| 321 | if (!isset($this->assets[$collection])) { |
|
| 322 | $this->assets[$collection] = []; |
|
| 323 | } |
|
| 324 | ||
| 325 | $this->assets[$collection][] = $asset; |
|
| 326 | ||
| 327 | return $this; |
|
| 328 | } |
|
| 329 | ||
| 330 | /** |
|
| 331 | * Get the tree's stream. |
|
| @@ 770-779 (lines=10) @@ | ||
| 767 | * @param $asset |
|
| 768 | * @return $this |
|
| 769 | */ |
|
| 770 | public function addAsset($collection, $asset) |
|
| 771 | { |
|
| 772 | if (!isset($this->assets[$collection])) { |
|
| 773 | $this->assets[$collection] = []; |
|
| 774 | } |
|
| 775 | ||
| 776 | $this->assets[$collection][] = $asset; |
|
| 777 | ||
| 778 | return $this; |
|
| 779 | } |
|
| 780 | ||
| 781 | /** |
|
| 782 | * Get the form's stream. |
|