Exemplo n.º 1
0
 public static function getStat()
 {
     $technoteDAO = new TechnoteDAO(BDD::getInstancePDO());
     $arr['publie'] = $technoteDAO->getCountPublie();
     $arr['nonPublie'] = $technoteDAO->getCountNonPublie();
     return $arr;
 }