Préparation pour la sauvegarde
This commit is contained in:
parent
77665320d7
commit
5e87ef6e60
@ -48,18 +48,25 @@ class ComptageController extends Zend_Controller_Action
|
||||
|
||||
public function saveAction()
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$this->_helper->viewRenderer->setNoRender(true);
|
||||
|
||||
$request = $this->getRequest();
|
||||
$ref = $request->getParam('ref');
|
||||
|
||||
//Session
|
||||
require_once 'Scores/SessionCiblage.php';
|
||||
$session = new SessionCiblage();
|
||||
|
||||
$criteres = $session->getCriteres();
|
||||
|
||||
$resultat = '';
|
||||
$nbInsee = '';
|
||||
|
||||
if (!empty($ref)) {
|
||||
echo 'Référence non définie !';
|
||||
} else {
|
||||
//Session
|
||||
require_once 'Scores/SessionCiblage.php';
|
||||
$session = new SessionCiblage();
|
||||
$criteres = $session->getCriteres();
|
||||
$resultat = $session->getNb('total');
|
||||
$nbInsee = $session->getNb('insee');
|
||||
|
||||
//Enregistrement dans la base de donnée
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user