www/engine/System/Classes/Modules/Extend/Utils/Handler/Addons.php 1 location
|
@@ 71-80 (lines=10) @@
|
| 68 |
|
* @return Template\Block|Ajax\Response : a block object if the ajax param was set to false, otherwise an ajax response |
| 69 |
|
*/ |
| 70 |
|
|
| 71 |
|
public function handle(bool $ajax = false) { |
| 72 |
|
|
| 73 |
|
$this->loader = new static::$loader_class; |
| 74 |
|
|
| 75 |
|
if ($ajax) return $this->handleAjax(); |
| 76 |
|
|
| 77 |
|
# ------------------------ |
| 78 |
|
|
| 79 |
|
return $this->getContents(); |
| 80 |
|
} |
| 81 |
|
} |
| 82 |
|
} |
| 83 |
|
|
www/engine/System/Classes/Modules/Extend/Utils/Handler/Basic.php 1 location
|
@@ 66-75 (lines=10) @@
|
| 63 |
|
* @return Template\Block|Ajax\Response : a block object if the ajax param was set to false, otherwise an ajax response |
| 64 |
|
*/ |
| 65 |
|
|
| 66 |
|
public function handle(bool $ajax = false) { |
| 67 |
|
|
| 68 |
|
$this->loader = new static::$loader_class(Request::get('list')); |
| 69 |
|
|
| 70 |
|
if ($ajax) return $this->handleAjax(); |
| 71 |
|
|
| 72 |
|
# ------------------------ |
| 73 |
|
|
| 74 |
|
return $this->getContents(); |
| 75 |
|
} |
| 76 |
|
} |
| 77 |
|
} |
| 78 |
|
|