tags:

views:

89

answers:

1

i 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/

+1  A: 

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

Using the factory method is required.

The Pixel Developer