人人商城

phoneapp.account.class.php 895B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * [WeEngine System] Copyright (c) 2014 WE7.CC
  4. * WeEngine is NOT a free software, it under the license terms, visited http://www.we7.cc/ for more details.
  5. */
  6. defined('IN_IA') or exit('Access Denied');
  7. class PhoneappAccount extends WeAccount {
  8. protected $tablename = 'account_phoneapp';
  9. protected $menuFrame = 'phoneapp';
  10. protected $type = ACCOUNT_TYPE_PHONEAPP_NORMAL;
  11. protected $typeSign = PHONEAPP_TYPE_SIGN;
  12. protected $typeName = 'APP';
  13. protected $typeTempalte = '-phoneapp';
  14. protected $supportVersion = STATUS_ON;
  15. public function checkIntoManage() {
  16. if (empty($this->account) || (!empty($this->account['account']) && $this->account['type'] != ACCOUNT_TYPE_PHONEAPP_NORMAL && !defined('IN_MODULE'))) {
  17. return false;
  18. }
  19. return true;
  20. }
  21. protected function getAccountInfo($acid) {
  22. $account = table('account')->getPhoneappAccount($acid);
  23. return $account;
  24. }
  25. }