{php} $controller=request()->controller(); $action=request()->action(); $typename=db('category')->where('controller',$controller)->where('function',$action)->find(); echo $typename['title']; {/php}