Subversion Repositories eFlore/Projets.eflore-projets

Compare Revisions

Ignore whitespace Rev 842 → Rev 843

/tags/v0.1-20130829/services/bibliotheque/ontologie/OntologieDO.php
New file
0,0 → 1,21
<?php
class OntologieDO {
private $infos;
 
public function __construct(Array $infos) {
$this->infos = $infos;
}
 
public function getTag($tag) {
return isset($this->infos[$tag]) ? $this->infos[$tag] : null;
}
 
public function verifierTag($tag) {
$existe = true;
if ($this->getTag($tag) == null || $this->getTag($tag) == '') {
$existe = false;
}
return $existe;
}
}
?>