[eluser]depthcharge[/eluser]
In the course of coding a few models, To save an extra 'helper' load i have appended a few functions to the bottom of the model file to be used as helpers for the model in question.
I know this is what the helpers are there for, but is reasonable way if the functions are solely for this model?
i.e model file example
Code:
class Mymodel {
function Mymodel()
{
.....
}
.....
}
// helper function
function helper1()
{
.....my helper
}
function helper2()
{
.....
}