是否有任何库或助手可以让我拥有一个扩展 CI_Controller 但文件名只是dashboard.php的类ControllerCommonDashboard
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class ControllerCommonDashboard extends MX_Controller {
}
目前我必须使文件名与类名相同。
不知道如何最好地使用这些功能来获得我所追求的
$this->router->fetch_class();
$this->router->fetch_method();
$this->router->fetch_module();