Comptage
This commit is contained in:
parent
cbab6d281e
commit
b735a072e5
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user