[eluser]dalirnet[/eluser]
include model in controller
Code:
$this->load->model('model_name');
include library in controller
Code:
$this->load->library('lib_name');
include controller in controller using helper
for example
Code:
function call_cn($class)
{
include_once(APPPATH.'controllers/'.$class.'.php');
$call_cn = new $class();
return $call_cn;
}
and call helper function in controller
Code:
$test = call_cn('controller_name');
$test->method();
might be a better way
mirk: