{"id":5082,"date":"2016-12-08T11:30:01","date_gmt":"2016-12-08T02:30:01","guid":{"rendered":"https:\/\/www.live-commerce.com\/support\/?page_id=5082"},"modified":"2016-12-08T11:30:01","modified_gmt":"2016-12-08T02:30:01","slug":"ogetbrandslist","status":"publish","type":"page","link":"https:\/\/www.live-commerce.com\/support\/functions\/ogetbrandslist","title":{"rendered":"o::getBrandsList"},"content":{"rendered":"<h3>\u6982\u8981<\/h3>\n<p>\u30e1\u30fc\u30ab\u30fc\u4e00\u89a7\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<br \/>\n&nbsp;<\/p>\n<h3>\u4f7f\u3044\u65b9<\/h3>\n<pre class=\"lang:default decode:true \" >&lt;?php \r\n$getBrandsList  = o::getBrandsList($catId, $brandId, $price);\r\nprint_r($getBrandsList);\r\n?&gt;<\/pre>\n<p>&nbsp;<\/p>\n<h3>\u5f15\u6570\u306e\u5185\u5bb9<\/h3>\n<ul style=\"list-style-type: square\">\n<li>$catId : \u30ab\u30c6\u30b4\u30eaID\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u5fc5\u9808<\/li>\n<li>$brandId : \u30e1\u30fc\u30ab\u30fcID\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f\u7a7a\u3067\u3082\u53ef\u3002<\/li>\n<li>$price : \u4fa1\u683c\u5e2f\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\uff08\u4f8b 100-1000) \u30c7\u30d5\u30a9\u30eb\u30c8\u306f\u7a7a\u3067\u3082\u53ef\u3002\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3>\u8fd4\u308a\u5024<\/h3>\n<p>array<\/p>\n<ul style=\"list-style-type: square\">\n<li>id : \u30e1\u30fc\u30ab\u30fcID<\/li>\n<li>\nbrand_name : \u30e1\u30fc\u30ab\u30fc\u540d<\/li>\n<li>href : \u30e1\u30fc\u30ab\u30fc\u4e00\u89a7\u30da\u30fc\u30b8\u3078\u306e\u30ea\u30f3\u30af<\/li>\n<li>count : \u305d\u306e\u30e1\u30fc\u30ab\u30fc\u306b\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u5546\u54c1\u6570<\/li>\n<\/ul>\n<pre class=\"lang:default highlight:0 decode:true \" >\/\/ \u51fa\u529b\u7d50\u679c\r\nArray\r\n(\r\n    [0] =&gt; Array\r\n        (\r\n            [id] =&gt; 5\r\n            [brand_name] =&gt; Apple\r\n            [href] =&gt; http:\/\/www.sample.net\/category\/select\/cid\/4\/bid\/5\r\n            [count] =&gt; 1\r\n        )\r\n\r\n    [1] =&gt; Array\r\n        (\r\n            [id] =&gt; -1\r\n            [brand_name] =&gt; \u30e1\u30fc\u30ab\u30fc\u7121\u3057\r\n            [href] =&gt; http:\/\/www.sample.net\/category\/select\/cid\/4\/bid\/-1\r\n            [count] =&gt; 2\r\n        )\r\n\r\n)<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981 \u30e1\u30fc\u30ab\u30fc\u4e00\u89a7\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002 &nbsp; \u4f7f\u3044\u65b9 &lt;?php $getBrandsList = o::getBrandsList($catId, $brandId, $price); print_r($get [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":154,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-5082","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.live-commerce.com\/support\/wp-json\/wp\/v2\/pages\/5082","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.live-commerce.com\/support\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.live-commerce.com\/support\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.live-commerce.com\/support\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.live-commerce.com\/support\/wp-json\/wp\/v2\/comments?post=5082"}],"version-history":[{"count":1,"href":"https:\/\/www.live-commerce.com\/support\/wp-json\/wp\/v2\/pages\/5082\/revisions"}],"predecessor-version":[{"id":5083,"href":"https:\/\/www.live-commerce.com\/support\/wp-json\/wp\/v2\/pages\/5082\/revisions\/5083"}],"up":[{"embeddable":true,"href":"https:\/\/www.live-commerce.com\/support\/wp-json\/wp\/v2\/pages\/154"}],"wp:attachment":[{"href":"https:\/\/www.live-commerce.com\/support\/wp-json\/wp\/v2\/media?parent=5082"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}