{"id":1162,"date":"2017-12-02T13:07:29","date_gmt":"2017-12-02T04:07:29","guid":{"rendered":"http:\/\/www.freedom.ne.jp\/hide\/hogehoge\/?p=1162"},"modified":"2017-12-02T13:08:57","modified_gmt":"2017-12-02T04:08:57","slug":"%e3%80%90eccube%e3%80%91%e4%bc%9a%e5%93%a1%e7%99%bb%e9%8c%b2%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e3%81%8a%e3%82%88%e3%81%b3%e6%b3%a8%e6%96%87%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e3%81%a7%e6%80%a7","status":"publish","type":"post","link":"https:\/\/www.freedom.ne.jp\/hide\/hogehoge\/?p=1162","title":{"rendered":"\u3010ECCUBE\u3011\u4f1a\u54e1\u767b\u9332\u30d5\u30a9\u30fc\u30e0\u304a\u3088\u3073\u6ce8\u6587\u30d5\u30a9\u30fc\u30e0\u3067\u6027\u5225\u306e\u521d\u671f\u5024\u3092\u6307\u5b9a\u3059\u308b\u3002"},"content":{"rendered":"<p>\u4f1a\u54e1\u767b\u9332\u30d5\u30a9\u30fc\u30e0\u304a\u3088\u3073\u6ce8\u6587\u30d5\u30a9\u30fc\u30e0\u3067\u6027\u5225\u306e\u521d\u671f\u5024\u3092\u6307\u5b9a\u3059\u308b\u3002<\/p>\n<p>\/shop\/data\/class\/helper\/SC_Helper_Customer.php<br \/>\n\u672c\u6765\u306a\u3089<br \/>\n\/shop\/data\/class_extends\/helper_extends\/SC_Helper_Customer.php<br \/>\n\u306a\u3093\u3060\u3068\u601d\u3044\u307e\u3059\u304c\u3068\u308a\u3042\u3048\u305a<\/p>\n<p>\/shop\/data\/class\/helper\/SC_Helper_Customer.php\u3067<br \/>\n$objFormParam-&gt;addParam(&#8216;\u6027\u5225&#8217;, $prefix . &#8216;sex&#8217;, INT_LEN, &#8216;n&#8217;, array(&#8216;EXIST_CHECK&#8217;, &#8216;NUM_CHECK&#8217;, &#8216;MAX_LENGTH_CHECK&#8217;));<br \/>\n\u672b\u5c3e\u306b ,2 \u3092\u8ffd\u52a0\u3059\u308b\u3068\u5973\u6027\u304c\u521d\u671f\u9078\u629e\u5024\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\/shop\/data\/class_extends\/helper_extends\/SC_Helper_Customer.php<br \/>\n\u3067\u3084\u308b\u306a\u3089<\/p>\n<p>\/**<br \/>\n* \u4f1a\u54e1\u767b\u9332\u5171\u901a<br \/>\n*<br \/>\n* @param SC_FormParam $objFormParam SC_FormParam \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9<br \/>\n* @param boolean $isAdmin true:\u7ba1\u7406\u8005\u753b\u9762 false:\u4f1a\u54e1\u5411\u3051<br \/>\n* @param boolean $is_mypage \u30de\u30a4\u30da\u30fc\u30b8\u306e\u5834\u5408 true<br \/>\n* @param string $prefix \u30ad\u30fc\u540d\u306bprefix\u3092\u4ed8\u3051\u308b\u5834\u5408\u306b\u6307\u5b9a<br \/>\n* @return void<br \/>\n*\/<br \/>\npublic function sfCustomerRegisterParam(&amp;$objFormParam, $isAdmin = false, $is_mypage = false, $prefix = &#8221;)<br \/>\n{<br \/>\n$objFormParam-&gt;addParam(&#8216;\u30d1\u30b9\u30ef\u30fc\u30c9&#8217;, $prefix . &#8216;password&#8217;, PASSWORD_MAX_LEN, &#8221;, array(&#8216;EXIST_CHECK&#8217;, &#8216;SPTAB_CHECK&#8217;, &#8216;ALNUM_CHECK&#8217;));<br \/>\n$objFormParam-&gt;addParam(&#8216;\u30d1\u30b9\u30ef\u30fc\u30c9\u78ba\u8a8d\u7528\u306e\u8cea\u554f\u306e\u7b54\u3048&#8217;, $prefix . &#8216;reminder_answer&#8217;, STEXT_LEN, &#8221;, array(&#8216;EXIST_CHECK&#8217;, &#8216;SPTAB_CHECK&#8217;, &#8216;MAX_LENGTH_CHECK&#8217;));<br \/>\n$objFormParam-&gt;addParam(&#8216;\u30d1\u30b9\u30ef\u30fc\u30c9\u78ba\u8a8d\u7528\u306e\u8cea\u554f&#8217;, $prefix . &#8216;reminder&#8217;, STEXT_LEN, &#8216;n&#8217;, array(&#8216;EXIST_CHECK&#8217;, &#8216;NUM_CHECK&#8217;, &#8216;MAX_LENGTH_CHECK&#8217;));<br \/>\n\/\/ \u672b\u5c3e\u306b\u5973\u6027\u3092\u793a\u3059\u5024&#8221;2&#8243;\u3092\u8a2d\u5b9a<br \/>\n$objFormParam-&gt;addParam(&#8216;\u6027\u5225&#8217;, $prefix . &#8216;sex&#8217;, INT_LEN, &#8216;n&#8217;, array(&#8216;EXIST_CHECK&#8217;, &#8216;NUM_CHECK&#8217;, &#8216;MAX_LENGTH_CHECK&#8217;), 2);<br \/>\n$objFormParam-&gt;addParam(&#8216;\u8077\u696d&#8217;, $prefix . &#8216;job&#8217;, INT_LEN, &#8216;n&#8217;, array(&#8216;NUM_CHECK&#8217;, &#8216;MAX_LENGTH_CHECK&#8217;));<br \/>\n\/\/ XXX: year,month,day\u306fprefix\u4ed8\u3051\u306a\u3044\u306e\u304c\u4eca\u306e\u3068\u3053\u308d\u5171\u901a<br \/>\n$objFormParam-&gt;addParam(&#8216;\u5e74&#8217;, &#8216;year&#8217;, 4, &#8216;n&#8217;, array(&#8216;NUM_CHECK&#8217;, &#8216;MAX_LENGTH_CHECK&#8217;), &#8221;, false);<br \/>\n$objFormParam-&gt;addParam(&#8216;\u6708&#8217;, &#8216;month&#8217;, 2, &#8216;n&#8217;, array(&#8216;NUM_CHECK&#8217;, &#8216;MAX_LENGTH_CHECK&#8217;), &#8221;, false);<br \/>\n$objFormParam-&gt;addParam(&#8216;\u65e5&#8217;, &#8216;day&#8217;, 2, &#8216;n&#8217;, array(&#8216;NUM_CHECK&#8217;, &#8216;MAX_LENGTH_CHECK&#8217;), &#8221;, false);<\/p>\n<p>\/\/ \u672b\u5c3e\u306bHTML\u30e1\u30fc\u30eb\u3092\u793a\u3059\u5024&#8221;1&#8243;\u3092\u8a2d\u5b9a<br \/>\n$objFormParam-&gt;addParam(&#8216;\u30e1\u30fc\u30eb\u30de\u30ac\u30b8\u30f3&#8217;, $prefix . &#8216;mailmaga_flg&#8217;, INT_LEN, &#8216;n&#8217;, array(&#8216;EXIST_CHECK&#8217;, &#8216;NUM_CHECK&#8217;, &#8216;MAX_LENGTH_CHECK&#8217;), 1);<\/p>\n<p>if (SC_Display_Ex::detectDevice() !== DEVICE_TYPE_MOBILE) {<br \/>\n$objFormParam-&gt;addParam(&#8216;\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9&#8217;, $prefix . &#8216;email&#8217;, null, &#8216;a&#8217;, array(&#8216;NO_SPTAB&#8217;, &#8216;EXIST_CHECK&#8217;, &#8216;EMAIL_CHECK&#8217;, &#8216;SPTAB_CHECK&#8217; ,&#8217;EMAIL_CHAR_CHECK&#8217;));<br \/>\n$objFormParam-&gt;addParam(&#8216;\u30d1\u30b9\u30ef\u30fc\u30c9(\u78ba\u8a8d)&#8217;, $prefix . &#8216;password02&#8217;, PASSWORD_MAX_LEN, &#8221;, array(&#8216;EXIST_CHECK&#8217;, &#8216;SPTAB_CHECK&#8217; ,&#8217;ALNUM_CHECK&#8217;), &#8221;, false);<br \/>\nif (!$isAdmin) {<br \/>\n$objFormParam-&gt;addParam(&#8216;\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9(\u78ba\u8a8d)&#8217;, $prefix . &#8216;email02&#8217;, null, &#8216;a&#8217;, array(&#8216;NO_SPTAB&#8217;, &#8216;EXIST_CHECK&#8217;, &#8216;EMAIL_CHECK&#8217;,&#8217;SPTAB_CHECK&#8217; , &#8216;EMAIL_CHAR_CHECK&#8217;), &#8221;, false);<br \/>\n}<br \/>\n} else {<br \/>\nif (!$is_mypage) {<br \/>\n$objFormParam-&gt;addParam(&#8216;\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9&#8217;, $prefix . &#8216;email&#8217;, null, &#8216;a&#8217;, array(&#8216;EXIST_CHECK&#8217;, &#8216;EMAIL_CHECK&#8217;, &#8216;NO_SPTAB&#8217; ,&#8217;EMAIL_CHAR_CHECK&#8217;, &#8216;MOBILE_EMAIL_CHECK&#8217;));<br \/>\n}<br \/>\n}<br \/>\n}<br \/>\n\u3092\u8ffd\u8a18\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/black-son.com\/php\/ec-cube\/566\">http:\/\/black-son.com\/php\/ec-cube\/566<\/a>\u3000\u3092\u53c2\u8003\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f1a\u54e1\u767b\u9332\u30d5\u30a9\u30fc\u30e0\u304a\u3088\u3073\u6ce8\u6587\u30d5\u30a9\u30fc\u30e0\u3067\u6027\u5225\u306e\u521d\u671f\u5024\u3092\u6307\u5b9a\u3059\u308b\u3002 \/shop\/data\/class\/helper\/SC_Helper_Customer.php \u672c\u6765\u306a\u3089 \/shop\/data\/class_extends\/he [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-1162","post","type-post","status-publish","format-standard","hentry","category-8"],"_links":{"self":[{"href":"https:\/\/www.freedom.ne.jp\/hide\/hogehoge\/index.php?rest_route=\/wp\/v2\/posts\/1162","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.freedom.ne.jp\/hide\/hogehoge\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.freedom.ne.jp\/hide\/hogehoge\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.freedom.ne.jp\/hide\/hogehoge\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.freedom.ne.jp\/hide\/hogehoge\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1162"}],"version-history":[{"count":2,"href":"https:\/\/www.freedom.ne.jp\/hide\/hogehoge\/index.php?rest_route=\/wp\/v2\/posts\/1162\/revisions"}],"predecessor-version":[{"id":1166,"href":"https:\/\/www.freedom.ne.jp\/hide\/hogehoge\/index.php?rest_route=\/wp\/v2\/posts\/1162\/revisions\/1166"}],"wp:attachment":[{"href":"https:\/\/www.freedom.ne.jp\/hide\/hogehoge\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.freedom.ne.jp\/hide\/hogehoge\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1162"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.freedom.ne.jp\/hide\/hogehoge\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}