Import initial du projet Production
This commit is contained in:
29
Cron/Tachedetail.php
Executable file
29
Cron/Tachedetail.php
Executable file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
require_once 'Modele.php';
|
||||
|
||||
class Tachedetail extends Modele {
|
||||
|
||||
public function tachesemail()
|
||||
{
|
||||
$sql = 'call tac_sp_taches_email()';
|
||||
|
||||
$taches = $this->executerRequete($sql);
|
||||
return $taches->fetchAll(PDO::FETCH_ASSOC);
|
||||
}
|
||||
|
||||
public function tacheseffectueesveille()
|
||||
{
|
||||
$sql = 'call tac_sp_taches_cron_effectuees_veille()';
|
||||
|
||||
$taches = $this->executerRequete($sql);
|
||||
return $taches->fetchAll(PDO::FETCH_ASSOC);
|
||||
}
|
||||
|
||||
public function Emailtacheseffectueeslemois()
|
||||
{
|
||||
$sql = 'call tac_sp_taches_cron_effectuees_le_mois()';
|
||||
|
||||
$taches = $this->executerRequete($sql);
|
||||
return $taches->fetchAll(PDO::FETCH_ASSOC);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user