function __construct($controller) { if (isset($this->model)) { $this->model = RO::model($this->model); } $this->controller = str_replace("Controller", "", $controller); $this->loadLib(); }