怎么样把URL路径模式的地址 传给<a></a>中的href 让他执行一个controlled类中的方法...
如题
假如URL路径模式的地址是C:/WebApp/WebCache/MallFrame/app/computer/action/default_module/index/
default_module 是一个controlled类 index是方法
假如URL路径模式的地址是C:/WebApp/WebCache/MallFrame/app/computer/action/default_module/
调用default_module 这个controlled类中的默认方法 index()
如题
假如URL路径模式的地址是C:/WebApp/WebCache/MallFrame/app/computer/action/default_module/index/
default_module 是一个controlled类 index是方法
假如URL路径模式的地址是C:/WebApp/WebCache/MallFrame/app/computer/action/default_module/
调用default_module 这个controlled类中的默认方法 index()
protected $view;
protected $raw;
protected $validFaca;
function __construct() {
$this->view=new View();
$this->raw=new RawRequest;
$this->validFaca=new ValidationFacade;
}
abstract function indexAction();
}