function rechercheSerie($re = null) { if (is_null($re)) { $re = $_REQUEST["recherche"]; } $all = new \model\simple\Allocine($re); $this->set(array("serie" => $all->retourneResSeriesFormat())); }
function recherche($keyconnexion = null, $re = null) { \model\simple\Utilisateur::authentificationDistante($keyconnexion); if (!\config\Conf::$user["user"]) { throw new \Exception("Non User"); } if (is_null($re)) { $re = $_REQUEST["recherche"]; } $all = new \model\simple\Allocine($re); $this->set(array("localfilm" => \model\mysql\Serie::rechercheFormat($re), "film" => $all->retourneResSeriesFormat())); }