| @@ 11-18 (lines=8) @@ | ||
| 8 | public function getUrl($url){ |
|
| 9 | return \url($url); |
|
| 10 | } |
|
| 11 | public function addViewElement($identifier,$content,&$view){ |
|
| 12 | $controls=$view->__get("q"); |
|
| 13 | if (isset($controls) === false) { |
|
| 14 | $controls=array (); |
|
| 15 | } |
|
| 16 | $controls[$identifier]=$content; |
|
| 17 | $view->__set("q", $controls); |
|
| 18 | } |
|
| 19 | ||
| 20 | public function createScriptVariable(&$view,$view_var, $output){ |
|
| 21 | $view->__set($view_var,$output); |
|
| @@ 25-32 (lines=8) @@ | ||
| 22 | return $this->_di->get("url")->get($url); |
|
| 23 | } |
|
| 24 | ||
| 25 | public function addViewElement($identifier,$content,&$view){ |
|
| 26 | $controls=$view->getVar("q"); |
|
| 27 | if (isset($controls) === false) { |
|
| 28 | $controls=array (); |
|
| 29 | } |
|
| 30 | $controls[$identifier]=$content; |
|
| 31 | $view->setVar("q", $controls); |
|
| 32 | } |
|
| 33 | ||
| 34 | public function createScriptVariable(&$view,$view_var, $output){ |
|
| 35 | $view->setVar($view_var,$output); |
|
| @@ 13-20 (lines=8) @@ | ||
| 10 | return RequestUtils::getUrl($url); |
|
| 11 | } |
|
| 12 | ||
| 13 | public function addViewElement($identifier,$content,&$view){ |
|
| 14 | $controls=$view->getVar("q"); |
|
| 15 | if (isset($controls) === false) { |
|
| 16 | $controls=array (); |
|
| 17 | } |
|
| 18 | $controls[$identifier]=$content; |
|
| 19 | $view->setVar("q", $controls); |
|
| 20 | } |
|
| 21 | ||
| 22 | public function createScriptVariable(&$view,$view_var, $output){ |
|
| 23 | $view->setVar($view_var,$output); |
|