那能不能有办法可以让其他无论什么函数调用showlog函数都是渲染showlog的视图而不是调用者的视图呢?这个需求我遇到不只一次了,很多地方都会需要,求助,求解答
class IndexController extends Controller {
function index(){
$this->showlog();
}
function showlog(){
$this->display();
}
} 最佳答案