예제 #1
0
 public static function QuerySingle($id)
 {
     if ($id < 1) {
         $this->result = FALSE;
         return FALSE;
     }
     $class = new QueryAuctions();
     $class->doQuery("`id` = " . (int) $id);
     if (!$class->result) {
         return FALSE;
     }
     return $class->getNext();
 }
 public static function QuerySingleShop($shopId)
 {
     global $config;
     if ($shopId < 1) {
         $this->result = FALSE;
         return FALSE;
     }
     $class = new QueryAuctions();
     $class->doQuery("`id` = " . (int) $shopId, TRUE);
     if (!$class->result) {
         return FALSE;
     }
     return $class->getNext();
 }