Changeset 11415 for temp/branches/mobile/data/class/SC_Customer.php
- Timestamp:
- 2007/02/12 01:16:08 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
temp/branches/mobile/data/class/SC_Customer.php
r11411 r11415 171 171 172 172 // ¥í¥°¥¤¥ó¤ËÀ®¸ù¤·¤Æ¤¤¤ë¤«È½Äꤹ¤ë¡£ 173 function isLoginSuccess( ) {173 function isLoginSuccess($dont_check_email_mobile = false) { 174 174 // ¥í¥°¥¤¥ó»þ¤Î¥á¡¼¥ë¥¢¥É¥ì¥¹¤ÈDB¤Î¥á¡¼¥ë¥¢¥É¥ì¥¹¤¬°ìÃפ·¤Æ¤¤¤ë¾ì¹ç 175 175 if(sfIsInt($_SESSION['customer']['customer_id'])) { … … 177 177 $email = $objQuery->get("dtb_customer", "email", "customer_id = ?", array($_SESSION['customer']['customer_id'])); 178 178 if($email == $_SESSION['customer']['email']) { 179 // ¥â¥Ð¥¤¥ë¥µ¥¤¥È¤Î¾ì¹ç¤Ï·ÈÂӤΥ᡼¥ë¥¢¥É¥ì¥¹¤¬ÅÐÏ¿¤µ¤ì¤Æ¤¤¤ë¤³¤È¤â¥Á¥§¥Ã¥¯¤¹¤ë¡£ 180 // ¤¿¤À¤· $dont_check_email_mobile ¤¬ true ¤Î¾ì¹ç¤Ï¥Á¥§¥Ã¥¯¤·¤Ê¤¤¡£ 181 if (defined('MOBILE_SITE') && !$dont_check_email_mobile) { 182 $email_mobile = $objQuery->get("dtb_customer", "email_mobile", "customer_id = ?", array($_SESSION['customer']['customer_id'])); 183 return isset($email_mobile); 184 } 179 185 return true; 180 186 } … … 191 197 function setValue($keyname, $val) { 192 198 $_SESSION['customer'][$keyname] = $val; 199 } 200 201 // ¥Ñ¥é¥á¡¼¥¿¤¬NULL¤«¤É¤¦¤«¤ÎȽÄê 202 function hasValue($keyname) { 203 return isset($_SESSION['customer'][$keyname]); 193 204 } 194 205
Note: See TracChangeset
for help on using the changeset viewer.