Пример #1
0
 public function count($countWhat = false, $whereAddOnly = false)
 {
     // avoid those annoying PEAR::DB strict standards warnings it causes
     $old = error_reporting();
     error_reporting(error_reporting() & ~E_STRICT);
     $res = parent::count($countWhat, $whereAddOnly);
     // reset
     error_reporting($old);
     return $res;
 }
Пример #2
0
 public function count($countWhat = false, $whereAddOnly = false)
 {
     $this->trigger('count');
     return parent::count($countWhat, $whereAddOnly);
 }