阅读背景:

我在哪里可以将我的全局代码放在Kohana 3.3中?

来源:互联网 

Say I want a constant, a function or a class to be available in all my models, views and controllers code (within a particular web site (application)). Where can I put them? I don't mind importing them explicitly in every file I need them in but I don't know how (simple Say I want a constant, a function or a class to




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: