Je suis en train de charger ce modèle:Impossible de trouver le modèle que vous avez spécifié: modelName
class Menu {
function show_menu()
{
$obj =& get_instance();
$obj->load->helper('url');
$menu = anchor("start/hello/fred","Say hello to Fred |");
$menu .= anchor("start/hello/bert","Say hello to Bert |");
$menu .= anchor("start/another_function","Do something else |");
return $menu;
}
}
C'est là mon contrôleur est:
function hello($name)
{
$this->load->model('Menu');
$mymenu = $this->Menu->show_menu();
}
Pourquoi ai-je cette erreur?
Unable to locate the model you have specified: menu
Merci, ça a aidé – BlackFire27