AJout de _forward

This commit is contained in:
Michael RICOIS 2011-08-24 15:27:22 +00:00
parent 49092c1083
commit e60dd866ff

View File

@ -21,7 +21,10 @@ class EvaluationController extends Zend_Controller_Action
->appendStylesheet('/themes/default/styles/evaluation.css', 'all');
}
public function indexAction(){}
public function indexAction()
{
$this->_forward('entreprise', 'recherche');
}
public function printscoresAction()
{
@ -74,6 +77,9 @@ class EvaluationController extends Zend_Controller_Action
if (empty($autrePage)) {
$ws = new WsScores();
$infos = $ws->getIndiScore(substr($this->siret, 0,9));
if ($infos === false) $this->_forward('soap', 'error');
} else {
$infos = $this->getRequest()->getParam('infos');
}