예제 #1
0
 public function getVendorList()
 {
     $rows = R::getAll("SELECT *FROM user where type= 2 and isactive = 1 order by id DESC limit 200 ");
     foreach ($rows as $row) {
         $row['currency'] = L::getBaseCurrencyFromValue($row['currency']);
         $data[] = $row;
     }
     return $data;
 }