Probably a php-related question.. |
[eluser]Watermark Studios[/eluser]
noctrum makes a good point. I see what you're trying to do with loading only those catalogs associated with an asset. Code: $this->assets_mod->catalog_mod->test(); Code: if (! defined('BASEPATH')) exit('No direct script access'); Code: $this->load->model('assets_mod');
[eluser]WanWizard[/eluser]
If that's the goal, you're getting dangerously close to an ORM: Code: $asset = new Asset();
[eluser]Watermark Studios[/eluser]
Time to bust out DMZ or Doctrine. Check out: CodeIgniter + Doctrine or Datamapper OverZealous Edition Lol...I use one of these in every project. |
Welcome Guest, Not a member yet? Register Sign In |