initialize() public method

public initialize ( Grav\Common\Grav $grav = null, string $view = null, string $task = null, string $route = null, array $post = null )
$grav Grav\Common\Grav
$view string
$task string
$route string
$post array
Beispiel #1
0
 protected function initializeController($task, $post)
 {
     $controller = new AdminController();
     $controller->initialize($this->grav, $this->template, $task, $this->route, $post);
     $controller->execute();
     $controller->redirect();
 }