Autoloading

This commit is contained in:
Michael RICOIS 2013-11-18 13:35:46 +00:00
parent fbb20b81c5
commit fe434d5da9
2 changed files with 2 additions and 3 deletions

View File

@ -22,8 +22,7 @@ class Application_Controller_Plugin_Menu extends Zend_Controller_Plugin_Abstract
}
//Génération du menu
require_once 'Scores/Menu.php';
$computeMenu = new Menu($request->getParams());
$computeMenu = new Scores_Menu($request->getParams());
$menu = $computeMenu->getMenu();
$view = $layout->getView();
$view->navigation($menu);

View File

@ -1,5 +1,5 @@
<?php
class Menu
class Scores_Menu
{
protected $menu = null;
protected $siret = null;