partner/application/controllers/PrestaController.php
2013-11-07 17:15:58 +00:00

23 lines
415 B
PHP

<?php
class PrestaController extends Zend_Controller_Action
{
public function indexAction()
{
$request = $this->getRequest();
$id = $request->getParam('client');
switch($id) {
//Prestation KOMPASS, livraison rapport pdf
case '144':
$siren = $request->getParam('siren');
$url = '/report/index/siren/'.$siren;
$this->redirect($url);
break;
default:
//Erreur
break;
}
}
}