Home >Backend Development >PHP Tutorial > thinkphp如何继承自己的Action
thinkphp怎么继承自己的Action
GlobalAction.class.php
<!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->class GlobalAction extends Action { public function _initialize() { } }
<!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->class IndexAction extends GlobalAction { }