getReportSql() public static méthode

returns query for summary report
public static getReportSql ( ) : string
Résultat string
 public function testGetReportSql()
 {
     $sql = DbHelper::getReportSql();
     $this->assertTrue(is_string($sql));
 }
Exemple #2
0
 public static function getReport($date_begin, $date_end)
 {
     return self::getDb()->query(DbHelper::getReportSql(), array($date_begin, $date_end))->result();
 }
Exemple #3
0
 public static function getReport($date_begin, $date_end)
 {
     return self::query(DbHelper::getReportSql(), array($date_begin, $date_end))->fetchAll();
 }