module/UIComponents/src/UIComponents/View/Helper/AbstractProxyHelper.php 1 location
|
@@ 87-94 (lines=8) @@
|
| 84 |
|
* @param array $options option to operate on |
| 85 |
|
* @return Components |
| 86 |
|
*/ |
| 87 |
|
public function __invoke($options = array()) |
| 88 |
|
{ |
| 89 |
|
if (isset($options['container']) && null !== $options['container']) { |
| 90 |
|
$this->setContainer($options['container']); |
| 91 |
|
} |
| 92 |
|
|
| 93 |
|
return ($this); |
| 94 |
|
} |
| 95 |
|
|
| 96 |
|
/** |
| 97 |
|
* Magic overload: Proxy to other navigation helpers or the container |
module/UIComponents/src/UIComponents/View/Helper/Components.php 1 location
|
@@ 38-45 (lines=8) @@
|
| 35 |
|
* @param string|AbstractContainer $container container to operate on |
| 36 |
|
* @return Components |
| 37 |
|
*/ |
| 38 |
|
public function __invoke($options = array()) |
| 39 |
|
{ |
| 40 |
|
if (isset($options['container']) && null !== $options['container']) { |
| 41 |
|
$this->setContainer($options['container']); |
| 42 |
|
} |
| 43 |
|
|
| 44 |
|
return ($this); |
| 45 |
|
} |
| 46 |
|
|
| 47 |
|
/** |
| 48 |
|
* Renders helper |