Exemplo n.º 1
0
 public static function getAllCount($tableName)
 {
     $sql = "select count(*) from " . $tableName;
     $db = Pft_Dbx::getDbx();
     return $db->getOne($sql);
 }