{"id":5088,"date":"2016-12-08T11:35:41","date_gmt":"2016-12-08T02:35:41","guid":{"rendered":"https:\/\/www.live-commerce.com\/support\/?page_id=5088"},"modified":"2016-12-08T11:36:45","modified_gmt":"2016-12-08T02:36:45","slug":"ogetbrandimage","status":"publish","type":"page","link":"https:\/\/www.live-commerce.com\/support\/functions\/ogetbrandimage","title":{"rendered":"o::getBrandImage"},"content":{"rendered":"<h3>\u6982\u8981<\/h3>\n<p>\u30e1\u30fc\u30ab\u30fc\u753b\u50cf\u30d1\u30b9\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;ul&gt;\r\n&lt;?php echo o::getBrandImage($image, $thumb = false); ?&gt;\r\n&lt;\/ul&gt;<\/pre>\n<p>&nbsp;<\/p>\n<h3>\u5f15\u6570\u306e\u5185\u5bb9<\/h3>\n<ul style=\"list-style-type: square\">\n<li>$image : \u753b\u50cf\u540d\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>$thumb : \u30c7\u30d5\u30a9\u30eb\u30c8\u306f\u7a7a\u3067\u3082\u53ef\u3002true\u3092\u6307\u5b9a\u3057\u305f\u5834\u5408\u306f\u30b5\u30e0\u30cd\u30a4\u30eb\u753b\u50cf\u306e\u30d1\u30b9\u3092\u8fd4\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3>\u8fd4\u308a\u5024<\/h3>\n<p>string<br \/>\n\u4f8b\uff09resources\/upload\/brand\/thumbnail\/citizen.png&#8221;<br \/>\n&nbsp;<\/p>\n<h3>\u4f7f\u7528\u4f8b<\/h3>\n<pre class=\"lang:default decode:true \" >&lt;img src=\"&lt;?php echo o::getBrandImage(c::getBrandImageByPid($this-&gt;p_id), true); ?&gt;\" alt=\"&lt;?php echo c::getBrandNameByPid($this-&gt;p_id); ?&gt;\" \/&gt;\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981 \u30e1\u30fc\u30ab\u30fc\u753b\u50cf\u30d1\u30b9\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002 &nbsp; \u4f7f\u3044\u65b9 &lt;ul&gt; &lt;?php echo o::getBrandImage($image, $thumb = false); ?&gt; &lt;\/ul [&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-5088","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.live-commerce.com\/support\/wp-json\/wp\/v2\/pages\/5088","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=5088"}],"version-history":[{"count":3,"href":"https:\/\/www.live-commerce.com\/support\/wp-json\/wp\/v2\/pages\/5088\/revisions"}],"predecessor-version":[{"id":5091,"href":"https:\/\/www.live-commerce.com\/support\/wp-json\/wp\/v2\/pages\/5088\/revisions\/5091"}],"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=5088"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}