예제 #1
0
 public function contarLinhas($where = "", $order = "")
 {
     $dao = new dao();
     $sql = sprintf($this->sqlContaLinhas, $where, $order);
     $result = $dao->queryContarLinhas($sql);
     return $result[0]['qtd'];
 }