UPDATE: Minor bugfixes for the current functionallity. Now having a running out of the box system.

This commit is contained in:
Stephan Kasdorf
2017-07-31 21:44:52 +02:00
parent afcde5ca49
commit 28fe5936cf
7 changed files with 26 additions and 10 deletions

View File

@@ -18,6 +18,7 @@ class Controller
protected $_post = array();
private $_current = array();
private $_next = array();
private $_controller = "index";
protected function __construct()
{
@@ -50,6 +51,22 @@ class Controller
$this->_config = $config;
}
/**
* @return string
*/
public function getController()
{
return $this->_controller;
}
/**
* @param string $controller
*/
protected function setController( $controller )
{
$this->_controller = $controller;
}
/**
* @param $template
* @param $page