Subversion Repositories eFlore/Applications.cel

Compare Revisions

No changes between revisions

Ignore whitespace Rev 3856 → Rev 3857

/branches/v3.01-serpe/jrest/services/Name.php
New file
0,0 → 1,37
<?php
// declare(encoding='UTF-8');
/**
* Service recherche nom retenu depuis un numero nomenclatural pour la BDNFF
*
* 1 : L'application recoit un numero nomenclatural
* 2 : L'application retourne le nom retenu associƩ
*
* @internal Mininum PHP version : 5.2
* @category CEL
* @package Services
* @subpackage Observations
* @version 0.1
* @author Mathias CHOUET <mathias@tela-botanica.org>
* @author Jean-Pascal MILCENT <jpm@tela-botanica.org>
* @author Aurelien PERONNET <aurelien@tela-botanica.org>
* @license GPL v3 <http://www.gnu.org/licenses/gpl.txt>
* @license CECILL v2 <http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt>
* @copyright 1999-2014 Tela Botanica <accueil@tela-botanica.org>
*/
class Name extends Cel {
 
public function getElement($uid){
$retour = array('null');
if (isset($uid[0])) {
$chercheurInfoTaxon = new RechercheInfosTaxonBeta($this->config);
$retour = $chercheurInfoTaxon->effectuerRequeteInfosComplementairesEtFormaterNom($uid[0]);
}
$this->envoyerJson($retour);
return true;
}
 
public function getRessource(){
print '["null"]';
return;
}
}
Property changes:
Added: svn:executable
+*
\ No newline at end of property