Welcome Guest, Not a member yet? Register   Sign In
Variables in Model Classes

Hey there! New to CodeIgniter and trying my best to keep this project streamlined and within the "best practices" parameters as much as possible.

My question: Is is ok to have variables in a model class that are not in the database? I Category and Page model classes, and in my controller I'd like to create an array of Page objects in the Category class to use in the View.


Messages In This Thread
Variables in Model Classes - by olivebean - 02-17-2015, 11:57 AM
RE: Variables in Model Classes - by colonelclick - 02-18-2015, 11:35 AM
RE: Variables in Model Classes - by casa - 04-05-2015, 09:50 PM

Theme © iAndrew 2016 - Forum software by © MyBB