Subversion Repositories eFlore/Applications.del

Rev

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

Rev 2033 Rev 2035
Line 384... Line 384...
384
			if ($this->etreAppliImg()) {
384
			if ($this->etreAppliImg()) {
385
				$this->addJoin($this->getSqlJointureObs());
385
				$this->addJoin($this->getSqlJointureObs());
386
			}
386
			}
387
	}
387
	}
Line 388... Line 388...
388
	
388
	
-
 
389
	private function getSqlJointureObs() {
389
	private function getSqlJointureObs() {
390
		$typeJointure = !empty($this->parametres['masque']) ? 'LEFT' : 'INNER';
390
		return 'INNER JOIN del_observation AS do ON (di.ce_observation = do.id_observation) ';
391
		return $typeJointure.' JOIN del_observation AS do ON (di.ce_observation = do.id_observation) ';
Line 391... Line 392...
391
	}
392
	}
392
 
393
 
393
	public function ajouterConstrainteAppliObs() {
394
	public function ajouterConstrainteAppliObs() {