5use Illuminate\Support\Facades\App;
12 $controls=$view->__get(
"q");
13 if (isset($controls) ===
false) {
16 $controls[$identifier]=$content;
17 $view->__set(
"q", $controls);
21 $view->__set($view_var,$output);
24 public function forward($initialControllerInstance,$controllerName,$actionName,
$params=NULL){
26 App::make($controllerName)->{$actionName}(
$params);
27 $result=\ob_get_contents();
32 public function renderContent($initialControllerInstance,$viewName, $params=NULL) {
33 return \view()->make($viewName,$params)->render();
37 return $dispatcher->segments();
fromDispatcher($dispatcher)
Collects url parts from the request dispatcher : controllerName, actionName, parameters Used internal...
forward($initialControllerInstance, $controllerName, $actionName, $params=NULL)
Forwards to.
getUrl($url)
Generates an URL Used internally by phpMv.
renderContent($initialControllerInstance, $viewName, $params=NULL)
render the content of an existing view : $viewName and set the response to the modal content Used int...
createScriptVariable(&$view, $view_var, $output)
Creates the script variable script_foot Used internally by phpMv.
addViewElement($identifier, $content, &$view)
Adds the array of controls q in the $view element Used internally by phpMv.