25 lines
494 B
PHP
Executable File
25 lines
494 B
PHP
Executable File
<?php define('__ROOT__', dirname(dirname(__FILE__)) );
|
|
require_once __ROOT__.'/manager/autoloader.php';
|
|
use \manager\ModuleRequest;
|
|
use \manager\ManagerError;
|
|
use \manager\Repo;
|
|
use \manager\ResourceDispatcher;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* [2] On recupere une personne
|
|
=========================================================*/debug();
|
|
$request = new Repo('Personnes/getById', array(1));
|
|
$pers = $request->answer();
|
|
|
|
?>
|
|
|
|
|
|
|
|
<section>
|
|
<h6>RECHERCHE DE PERSONNE PAR ID</h6>
|
|
<?php var_dump($pers) ?>
|
|
</section>
|