radiantproduction/Cron/Tachedetail.php

30 lines
676 B
PHP

<?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);
}
}