|
|
@ -57,7 +57,7 @@ class EnigmeGateway
|
|
|
|
WHERE points IS NOT NULL OR points != 0";
|
|
|
|
WHERE points IS NOT NULL OR points != 0";
|
|
|
|
$this->con->executeQuery($query);
|
|
|
|
$this->con->executeQuery($query);
|
|
|
|
$tabEnigme=EnigmeFactory::create($this->con->getResults());
|
|
|
|
$tabEnigme=EnigmeFactory::create($this->con->getResults());
|
|
|
|
return $tabEnigme
|
|
|
|
return $tabEnigme;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public function findSoloEnigma(){
|
|
|
|
public function findSoloEnigma(){
|
|
|
@ -65,7 +65,7 @@ class EnigmeGateway
|
|
|
|
WHERE points IS NULL OR points = 0";
|
|
|
|
WHERE points IS NULL OR points = 0";
|
|
|
|
$this->con->executeQuery($query);
|
|
|
|
$this->con->executeQuery($query);
|
|
|
|
$tabEnigme=EnigmeFactory::create($this->con->getResults());
|
|
|
|
$tabEnigme=EnigmeFactory::create($this->con->getResults());
|
|
|
|
return $tabEnigme
|
|
|
|
return $tabEnigme;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public function findById(string $idEnigme) : array
|
|
|
|
public function findById(string $idEnigme) : array
|
|
|
|