Changeset 22567 for branches/version-2_12-dev/data/class/pages/entry
- Timestamp:
- 2013/02/18 19:09:54 (11 years ago)
- Location:
- branches/version-2_12-dev/data/class/pages/entry
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/entry/LC_Page_Entry.php
r22206 r22567 32 32 * @version $Id:LC_Page_Entry.php 15532 2007-08-31 14:39:46Z nanasess $ 33 33 */ 34 class LC_Page_Entry extends LC_Page_Ex { 34 class LC_Page_Entry extends LC_Page_Ex 35 { 35 36 36 37 // {{{ properties … … 43 44 * @return void 44 45 */ 45 function init() { 46 function init() 47 { 46 48 parent::init(); 47 49 $masterData = new SC_DB_MasterData_Ex(); … … 64 66 * @return void 65 67 */ 66 function process() { 68 function process() 69 { 67 70 parent::process(); 68 71 $this->action(); … … 74 77 * @return void 75 78 */ 76 function action() { 79 function action() 80 { 77 81 78 82 $objFormParam = new SC_FormParam_Ex(); … … 167 171 * @return void 168 172 */ 169 function destroy() { 173 function destroy() 174 { 170 175 parent::destroy(); 171 176 } … … 179 184 * @return uniqid 180 185 */ 181 function lfRegistCustomerData($sqlval) { 186 function lfRegistCustomerData($sqlval) 187 { 182 188 SC_Helper_Customer_Ex::sfEditCustomerData($sqlval); 183 189 return $sqlval['secret_key']; … … 195 201 * @return $arrResults 196 202 */ 197 function lfMakeSqlVal(&$objFormParam) { 203 function lfMakeSqlVal(&$objFormParam) 204 { 198 205 $arrForm = $objFormParam->getHashArray(); 199 206 $arrResults = $objFormParam->getDbArray(); … … 230 237 * @return void 231 238 */ 232 function lfSendMail($uniqid, $arrForm) { 239 function lfSendMail($uniqid, $arrForm) 240 { 233 241 $CONF = SC_Helper_DB_Ex::sfGetBasisData(); 234 242 … … 285 293 * @return boolean kiyaku.php からの妥当な遷移であれば true 286 294 */ 287 function lfCheckReferer(&$post, $referer) { 295 function lfCheckReferer(&$post, $referer) 296 { 288 297 289 298 if (SC_Display_Ex::detectDevice() !== DEVICE_TYPE_MOBILE … … 301 310 * @return array $arrErr エラーメッセージ配列 302 311 */ 303 function lfCheckError($arrRequest) { 312 function lfCheckError($arrRequest) 313 { 304 314 // パラメーター管理クラス 305 315 $objFormParam = new SC_FormParam_Ex(); … … 330 340 * @return エラーなし:true エラー:false 331 341 */ 332 function lfInputNameCheck($value) { 342 function lfInputNameCheck($value) 343 { 333 344 // 半角英数字と_(アンダーバー), []以外の文字を使用していたらエラー 334 345 if (strlen($value) > 0 && !preg_match("/^[a-zA-Z0-9_\[\]]+$/", $value)) { -
branches/version-2_12-dev/data/class/pages/entry/LC_Page_Entry_Complete.php
r22206 r22567 32 32 * @version $Id$ 33 33 */ 34 class LC_Page_Entry_Complete extends LC_Page_Ex { 34 class LC_Page_Entry_Complete extends LC_Page_Ex 35 { 35 36 36 37 // }}} … … 42 43 * @return void 43 44 */ 44 function init() { 45 function init() 46 { 45 47 parent::init(); 46 48 $this->httpCacheControl('nocache'); … … 52 54 * @return void 53 55 */ 54 function process() { 56 function process() 57 { 55 58 parent::process(); 56 59 $this->action(); … … 63 66 * @return void 64 67 */ 65 function action() { 68 function action() 69 { 66 70 67 71 // カートが空かどうかを確認する。 … … 92 96 * @return void 93 97 */ 94 function destroy() { 98 function destroy() 99 { 95 100 parent::destroy(); 96 101 } -
branches/version-2_12-dev/data/class/pages/entry/LC_Page_Entry_EmailMobile.php
r22206 r22567 32 32 * @version $Id$ 33 33 */ 34 class LC_Page_Entry_EmailMobile extends LC_Page_Ex { 34 class LC_Page_Entry_EmailMobile extends LC_Page_Ex 35 { 35 36 36 37 // }}} … … 42 43 * @return void 43 44 */ 44 function init() { 45 function init() 46 { 45 47 parent::init(); 46 48 … … 52 54 * @return void 53 55 */ 54 function process() { 56 function process() 57 { 55 58 parent::process(); 56 59 $this->action(); … … 63 66 * @return void 64 67 */ 65 function action() { 68 function action() 69 { 66 70 67 71 $objCustomer = new SC_Customer_Ex(); … … 95 99 * @return void 96 100 */ 97 function destroy() { 101 function destroy() 102 { 98 103 parent::destroy(); 99 104 } … … 105 110 * @return void 106 111 */ 107 function lfInitParam(&$objFormParam) { 112 function lfInitParam(&$objFormParam) 113 { 108 114 $objFormParam->addParam('メールアドレス', 'email_mobile', null, 'a', 109 115 array('NO_SPTAB', 'EXIST_CHECK', 'CHANGE_LOWER', 'EMAIL_CHAR_CHECK', 'EMAIL_CHECK', 'MOBILE_EMAIL_CHECK')); … … 118 124 * @return array エラー情報の配列 119 125 */ 120 function lfCheckError(&$objFormParam) { 126 function lfCheckError(&$objFormParam) 127 { 121 128 $objFormParam->convParam(); 122 129 $objErr = new SC_CheckError_Ex(); … … 140 147 * @return void 141 148 */ 142 function lfRegistEmailMobile($email_mobile, $customer_id) { 149 function lfRegistEmailMobile($email_mobile, $customer_id) 150 { 143 151 $objQuery = SC_Query_Ex::getSingletonInstance(); 144 152 $objQuery->update('dtb_customer', -
branches/version-2_12-dev/data/class/pages/entry/LC_Page_Entry_Kiyaku.php
r22206 r22567 32 32 * @version $Id$ 33 33 */ 34 class LC_Page_Entry_Kiyaku extends LC_Page_Ex { 34 class LC_Page_Entry_Kiyaku extends LC_Page_Ex 35 { 35 36 36 37 // }}} … … 42 43 * @return void 43 44 */ 44 function init() { 45 function init() 46 { 45 47 parent::init(); 46 48 $this->tpl_title = 'ご利用規約'; … … 52 54 * @return void 53 55 */ 54 function process() { 56 function process() 57 { 55 58 parent::process(); 56 59 $this->action(); … … 63 66 * @return void 64 67 */ 65 function action() { 68 function action() 69 { 66 70 67 71 $arrKiyaku = $this->lfGetKiyakuData(); … … 83 87 * @return void 84 88 */ 85 function destroy() { 89 function destroy() 90 { 86 91 parent::destroy(); 87 92 } … … 96 101 * @return string 規約の内容をテキストエリアで表示するように整形したデータ 97 102 */ 98 function lfMakeKiyakuText($arrKiyaku, $max, $offset) { 103 function lfMakeKiyakuText($arrKiyaku, $max, $offset) 104 { 99 105 $this->tpl_kiyaku_text = ''; 100 106 for ($i = 0; $i < $max; $i++) { … … 112 118 * @return array $arrKiyaku 規約の配列 113 119 */ 114 function lfGetKiyakuData() { 120 function lfGetKiyakuData() 121 { 115 122 116 123 $objQuery = SC_Query_Ex::getSingletonInstance(); … … 130 137 * @return int 131 138 */ 132 function lfSetOffset($offset) { 139 function lfSetOffset($offset) 140 { 133 141 return is_numeric($offset) === true ? intval($offset) : 1; 134 142 }
Note: See TracChangeset
for help on using the changeset viewer.