Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: lazycommit on Jun 13th, 2012  |  syntax: PHP  |  size: 0.19 KB  |  hits: 23  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. if ($arrayWithCount) {
  2.             $select->from(array(), DB::SQL_CALC_FOUND_ROWS());
  3.             return array('data' => self::db()->fetchAll($select), 'count' => self::Rows_Found());
  4.         }