Welcome Guest, Not a member yet? Register   Sign In
Naming a model class
#1

[eluser]mattalexx[/eluser]
In the docs, it mentions this:
Code:
class Blogmodel extends Model {}
Then it mentions this:
Code:
class User_model extends Model {}
What's the best way to name my models? Should I use the underscore or not? If the object name has more than one word, which one is it?:
Code:
class Item_Image_model extends Model {}
Code:
class Item_image_model extends Model {}
Code:
class ItemImage_model extends Model {}
Code:
class ItemImageModel extends Model {}


Messages In This Thread
Naming a model class - by El Forum - 06-22-2008, 07:20 PM
Naming a model class - by El Forum - 06-22-2008, 09:33 PM
Naming a model class - by El Forum - 06-22-2008, 09:41 PM
Naming a model class - by El Forum - 06-22-2008, 11:26 PM
Naming a model class - by El Forum - 10-30-2008, 02:42 PM
Naming a model class - by El Forum - 10-31-2008, 06:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB