This commit is contained in:
Michael RICOIS 2011-12-14 14:21:33 +00:00
parent cbab6d281e
commit b735a072e5

View File

@ -1,5 +1,26 @@
<?php
class ComptageController extends Zend_Controller_Action
{
public function indexAction(){}
public function indexAction()
{
$this->_helper->layout()->disableLayout();
$this->_helper->viewRenderer->setNoRender(true);
$request = $this->getRequest();
$key = $request->getParam('cle');
$value = $request->getParam('valeur');
//Session
//Comptage
//Retour comptage, unité Insee
$result = array(
'count' => 3434343434,
'insee' => 500
);
echo json_encode($result);
}
}