Subversion Repositories eFlore/Projets.eflore-projets

Rev

Rev 379 | Rev 390 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 379 Rev 385
Line 65... Line 65...
65
 
65
 
66
	public function traiterRessources() {
66
	public function traiterRessources() {
67
		if (isset($this->ressources) && !empty($this->ressources[0])) {
67
		if (isset($this->ressources) && !empty($this->ressources[0])) {
68
			if(preg_match('/^(.+)\.nn:([0-9]+)$/', $this->ressources[0], $retour)==1){
68
			if(preg_match('/^(.+)\.nn:([0-9]+)$/', $this->ressources[0], $retour)==1){
69
				switch ($retour[1]) {
69
				switch ($retour[1]) {
70
					case 'BDTFX' :
70
					case 'bdtfx' :
Line 71... Line 71...
71
						$this->requete_condition[] = "num_nomen = ".$retour[2]." AND BDNT = 'BDTFX' ";
71
						$this->requete_condition[] = "num_nomen = ".$retour[2]." AND BDNT = 'BDTFX' ";
72
						 
72
						 
73
						break;
73
						break;
74
					case  'BDAFX' :
74
					case  'bdafx' :
75
						$this->requete_condition[] = "num_nomen = ".$retour[2]." AND BDNT = 'BDAFX' "; 
75
						$this->requete_condition[] = "num_nomen = ".$retour[2]." AND BDNT = 'BDAFX' "; 
76
						break;
76
						break;
77
					case  'BDBFX' :
77
					case  'bdbfx' :
78
						$this->requete_condition[] = "num_nomen = ".$retour[2]." AND BDNT = 'BDBFX' "; 
78
						$this->requete_condition[] = "num_nomen = ".$retour[2]." AND BDNT = 'BDBFX' "; 
79
						break;
79
						break;
80
					default :
80
					default :