Ha that's funny! I guess maybe there are some CI 'Titans' from this forum guarding the same intersection...
So I've moved some code to a library. I'm not sure if loading models within a library will give problems, so is the following example allowed or bad practice..?
PHP Code:
function getTemplateName($id = NULL) {
// ... some code ...
$this->ci->load->model('Templates/Templates_m');
$templateData = $this->ci->Templates_m->get($id);
// ... maybe some more;
}
Thanks again for your input.
-Roger