/** * * @constructor * * @access public * * @return void * */ function __construct() { $mvcCore = mvcCore::getInstance(); $this->module = $mvcCore->module; $this->controller = $mvcCore->controller; $this->action = $mvcCore->action; }
/** * * @get the controller * * @access private * * @return void * */ private function getController() { $mvcCore = mvcCore::getInstance(); $this->module = $mvcCore->module; $this->controller = $mvcCore->controller; $this->action = $mvcCore->action; $this->file = $this->path . '/modules/' . $this->module . '/controllers/' . $this->controller . 'Controller.php'; }