modification d'un condition
This commit is contained in:
parent
0ca5924bce
commit
a6ed77b121
@ -28,7 +28,7 @@ Class Ciblage
|
|||||||
$this->sphinx->SetServer($this->sphinx_host, $this->sphinx_port);
|
$this->sphinx->SetServer($this->sphinx_host, $this->sphinx_port);
|
||||||
$this->sphinx->SetMatchMode(SPH_MATCH_EXTENDED2);
|
$this->sphinx->SetMatchMode(SPH_MATCH_EXTENDED2);
|
||||||
$this->sphinx->ResetFilters();
|
$this->sphinx->ResetFilters();
|
||||||
if(!empty($structure)) {
|
/*if(!empty($structure)) {*/
|
||||||
foreach($structure as $key => $valeur)
|
foreach($structure as $key => $valeur)
|
||||||
{
|
{
|
||||||
if (method_exists($this, $key)) {
|
if (method_exists($this, $key)) {
|
||||||
@ -42,7 +42,7 @@ Class Ciblage
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
/*}*/
|
||||||
}
|
}
|
||||||
|
|
||||||
public function calculRedevanceInsee()
|
public function calculRedevanceInsee()
|
||||||
@ -162,6 +162,7 @@ Class Ciblage
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected function capital($valeur) {
|
protected function capital($valeur) {
|
||||||
|
if($valeur[0] != 0 or $valeur[1] != 0)
|
||||||
$this->setFilterRange('capital', $valeur);
|
$this->setFilterRange('capital', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -186,10 +187,12 @@ Class Ciblage
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected function teff_entrep($valeur) {
|
protected function teff_entrep($valeur) {
|
||||||
|
if($valeur[0] != 0 or $valeur[1] != 0)
|
||||||
$this->setFilterRange('teff_entrep', $valeur);
|
$this->setFilterRange('teff_entrep', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function teff_etab($valeur) {
|
protected function teff_etab($valeur) {
|
||||||
|
if($valeur[0] != 0 or $valeur[1] != 0)
|
||||||
$this->setFilterRange('teff_etab', $valeur);
|
$this->setFilterRange('teff_etab', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user