2016-04-04 09:47:17 +00:00
|
|
|
<?php define('__ROOT__', dirname(dirname(__FILE__)) );
|
|
|
|
require_once __ROOT__.'/manager/autoloader.php';
|
|
|
|
use \manager\ModuleRequest;
|
|
|
|
use \manager\ManagerError;
|
2016-04-10 10:18:52 +00:00
|
|
|
use \manager\Repo;
|
2016-04-04 09:47:17 +00:00
|
|
|
use \manager\ResourceDispatcher;
|
2016-04-10 10:18:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* [2] On recupere une personne
|
|
|
|
=========================================================*/debug();
|
|
|
|
$request = new Repo('Personnes/getById', array(1));
|
|
|
|
$pers = $request->answer();
|
|
|
|
|
2016-04-04 09:47:17 +00:00
|
|
|
?>
|
|
|
|
|
|
|
|
|
2016-04-10 10:18:52 +00:00
|
|
|
|
|
|
|
<section>
|
|
|
|
<h6>RECHERCHE DE PERSONNE PAR ID</h6>
|
|
|
|
<?php var_dump($pers) ?>
|
|
|
|
</section>
|