[eluser]Vince Stross[/eluser]
I'm trying to set an alias for an autoloaded model. I've tried the following:
Code:
$autoload['model'] = array(array('alias'=>'some_model'),'other_models');
CI accepts this format without an error, but when I try to access the model using $this->alias->function() it is clearly not loaded.
I originally tried the conventional syntax with the model name and then the alias but CI returned an error.
Code:
$autoload['model'] = array(array('some_model'=>'alias'),'other_models');
any ideas?