例如要调用IndexAction里的isonline(); 可用下列代码 import('@.Action.IndexAction'); $Index=new IndexAction(); $Index->isonline();以前在其他案例里看到过可以直接引用的,留待以后解决。模版世界:http://www.templatesy.com