[英]Assets in Yii Framework
Can somebody explain in brief the use of assets folder in yii framework. 有人可以在yii框架中简要解释资产文件夹的使用。 I am new to yii framework 我是yii框架的新手
Many newcomers ask: "What do we do with the assets folder?", and the answer is "Mostly nothing". 许多新人问:“我们如何处理资产文件夹?”,答案是“绝对没有”。
Yii makes assets accessible by Web clients, so the goal of copying assets to a Web-accessible directory is fulfilled and returns the corresponding URL for accessing them. Yii使Web客户端可以访问资产,因此实现了将资产复制到Web可访问目录的目标,并返回相应的URL以访问它们。
Read it from http://www.yiiframework.com/doc/api/1.1/CAssetManager 请阅读http://www.yiiframework.com/doc/api/1.1/CAssetManager
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.