开发者

kohana 3 - image class and error "Cannot instantiate abstract class Image"

i 开发者_StackOverflow社区made model which sends through controller to template neccessary data from database and doing picture resize for each picture path in the database. don't know why but there is some error (subj). here is code of this class method of model http://fpaste.org/ct2I/


The reason for this is you can't initialize abstract classes.

Using the factory method is required.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜