Welcome Guest, Not a member yet? Register   Sign In
model to model function calling?
#3

[eluser]Randy Casburn[/eluser]
Hi delay,

If ...
Quote:I have a general_model in which I keep various string and date manipulation functions.
is your only goal, then the true CI solution is called a Helper. You should put these simple procedural calls inside a Helper file and keep thing efficient. All the extra overhead mentioned above may not be necessary.

Besides, helpers already exists for Dates:

http://ellislab.com/codeigniter/user-gui...elper.html

and for string stuff:

http://ellislab.com/codeigniter/user-gui...elper.html

http://ellislab.com/codeigniter/user-gui...elper.html

http://ellislab.com/codeigniter/user-gui...elper.html

http://ellislab.com/codeigniter/user-gui...elper.html

Just in case you haven't seen them.

Randy


Messages In This Thread
model to model function calling? - by El Forum - 08-19-2008, 12:03 PM
model to model function calling? - by El Forum - 08-19-2008, 01:35 PM
model to model function calling? - by El Forum - 08-19-2008, 02:04 PM
model to model function calling? - by El Forum - 08-19-2008, 02:45 PM
model to model function calling? - by El Forum - 08-19-2008, 03:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB