Esempio n. 1
0
 /**
  * @param int $startIndex
  * @param int $numItems
  * @return array
  */
 public function getsystemlogs_paged($startIndex, $numItems, $userid = NULL)
 {
     try {
         $rows = R::find($this->tbname, ' LIMIT ? , ? ', array($startIndex, $numItems));
         $rows = R::prepareForAMF(R::convertBeanToArray($rows), array(0 => $this->tbname));
         return $rows;
     } catch (Exception $e) {
         throw new Exception($e->getMessage());
     }
 }