ZenCart-$db查询之后的数据结构

代码如下

D:\wamp\www\ZenCart\includes\functions\extra_functions\functions_vtscommon.php:56:
class queryFactoryResult#69 (10) {
  public $EOF =>bool(false)
  public $cursor => int(0)
  public $fields =>
  array(8) {
    'products_id' =>
    string(1) "1"
    'products_image' =>
    string(37) "20180420-RB/201804201144211220111.jpg"
    'products_tax_class_id' =>
    string(1) "0"
    'products_name' =>
    string(37) "Ray-Ban Aviator Classic Gold , RB3025"
    'products_date_added' =>
    string(19) "2019-04-24 12:32:17"
    'products_price' =>
    string(8) "203.0000"
    'products_type' =>
    string(1) "1"
    'master_categories_id' =>
    string(1) "1"
  }
  public $is_cached =>
  bool(true)
  public $result =>
  array(6) {
    [0] =>
    array(8) {
      'products_id' =>
      string(1) "1"
      'products_image' =>
      string(37) "20180420-RB/201804201144211220111.jpg"
      'products_tax_class_id' =>
      string(1) "0"
      'products_name' =>
      string(37) "Ray-Ban Aviator Classic Gold , RB3025"
      'products_date_added' =>
      string(19) "2019-04-24 12:32:17"
      'products_price' =>
      string(8) "203.0000"
      'products_type' =>
      string(1) "1"
      'master_categories_id' =>
      string(1) "1"
    }
    [1] =>
    array(8) {
      'products_id' =>
      string(1) "2"
      'products_image' =>
      string(36) "20180420-RB/20180420114420205068.jpg"
      'products_tax_class_id' =>
      string(1) "0"
      'products_name' =>
      string(38) "Ray-Ban Aviator Gradient Gold , RB3025"
      'products_date_added' =>
      string(19) "2019-04-24 12:32:17"
      'products_price' =>
      string(8) "168.0000"
      'products_type' =>
      string(1) "1"
      'master_categories_id' =>
      string(1) "1"
    }
    [2] =>
    array(8) {
      'products_id' =>
      string(1) "3"
      'products_image' =>
      string(36) "20180420-RB/20180420114420901099.jpg"
      'products_tax_class_id' =>
      string(1) "0"
      'products_name' =>
      string(38) "Ray-Ban Aviator Evolve Silver , RB3025"
      'products_date_added' =>
      string(19) "2019-04-24 12:32:17"
      'products_price' =>
      string(8) "183.0000"
      'products_type' =>
      string(1) "1"
      'master_categories_id' =>
      string(1) "1"
    }
    [3] =>
    array(8) {
      'products_id' =>
      string(1) "4"
      'products_image' =>
      string(36) "20180420-RB/20180420114419796045.jpg"
      'products_tax_class_id' =>
      string(1) "0"
      'products_name' =>
      string(33) "Ray-Ban Outdoorsman Gold , RB3030"
      'products_date_added' =>
      string(19) "2019-04-24 12:32:17"
      'products_price' =>
      string(8) "153.0000"
      'products_type' =>
      string(1) "1"
      'master_categories_id' =>
      string(1) "1"
    }
    [4] =>
    array(8) {
      'products_id' =>
      string(1) "5"
      'products_image' =>
      string(37) "20180420-RB/201804201144215330131.jpg"
      'products_tax_class_id' =>
      string(1) "0"
      'products_name' =>
      string(58) "Ray-Ban Outdoorsman Craft Gold ,Polarized Lenses - RB3422Q"
      'products_date_added' =>
      string(19) "2019-04-24 12:32:17"
      'products_price' =>
      string(8) "243.0000"
      'products_type' =>
      string(1) "1"
      'master_categories_id' =>
      string(1) "1"
    }
    [5] =>
    array(8) {
      'products_id' =>
      string(1) "6"
      'products_image' =>
      string(37) "20180420-RB/201804201144210790109.jpg"
      'products_tax_class_id' =>
      string(1) "0"
      'products_name' =>
      string(41) "Ray-Ban Outdoorsman Craft Black , RB3422Q"
      'products_date_added' =>
      string(19) "2019-04-24 12:32:17"
      'products_price' =>
      string(8) "193.0000"
      'products_type' =>
      string(1) "1"
      'master_categories_id' =>
      string(1) "1"
    }
  }
  public $result_random =>
  NULL
  public $limit =>
  int(6)
  public $resource =>
  class mysqli_result#70 (5) {
    public $current_field =>
    int(0)
    public $field_count =>
    int(8)
    public $lengths =>
    array(8) {
      [0] =>
      int(1)
      [1] =>
      int(37)
      [2] =>
      int(1)
      [3] =>
      int(41)
      [4] =>
      int(19)
      [5] =>
      int(8)
      [6] =>
      int(1)
      [7] =>
      int(1)
    }
    public $num_rows =>
    int(6)
    public $type =>
    int(0)
  }
  public $link =>
  class mysqli#7 (19) {
    public $affected_rows =>
    int(6)
    public $client_info =>
    string(79) "mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $"
    public $client_version =>
    int(50011)
    public $connect_errno =>
    int(0)
    public $connect_error =>
    NULL
    public $errno =>
    int(0)
    public $error =>
    string(0) ""
    public $error_list =>
    array(0) {
    }
    public $field_count =>
    int(8)
    public $host_info =>
    string(20) "localhost via TCP/IP"
    public $info =>
    NULL
    public $insert_id =>
    int(0)
    public $server_info =>
    string(6) "5.7.19"
    public $server_version =>
    int(50719)
    public $stat =>
    string(135) "Uptime: 1598  Threads: 1  Questions: 604  Slow queries: 0  Opens: 388  Flush tables: 1  Open tables: 381  Queries per second avg: 0.377"
    public $sqlstate =>
    string(5) "00000"
    public $protocol_version =>
    int(10)
    public $thread_id =>
    int(12)
    public $warning_count =>
    int(0)
  }
  public $sql_query =>
  string(512) "SELECT distinct p.products_id, p.products_image, p.products_tax_class_id, pd.products_name,
                           p.products_date_added, p.products_price, p.products_type, p.master_categories_id
                           from products p, products_description pd 
                           where p.products_id = pd.products_id 
                           and pd.language_id = '1' 
                           and p.products_status = 1 and p.products_custom_attributes = 1 order by pd.products_id asc LIMIT 6"
}