Welcome Guest, Not a member yet? Register   Sign In
Model without Database?
#3

[eluser]xwero[/eluser]
if you want to implement your code clean you could add a new driver to the database directory and try to mimic the normal database the best you can. This means you could use the AR class and the config/database.php file.

if you want it quick and dirty you add your own library to the libraries folder and load it in the models.

About the added code, as far as i know it's only added if you set the third parameter to true. if you do
Code:
$this->load->model('some_fantastic_model');
it doesn't load extra parameters.

edit : beaten by wiredesignz it must be weekend Wink


Messages In This Thread
Model without Database? - by El Forum - 05-16-2008, 10:53 PM
Model without Database? - by El Forum - 05-16-2008, 11:04 PM
Model without Database? - by El Forum - 05-16-2008, 11:14 PM
Model without Database? - by El Forum - 05-16-2008, 11:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB