1234567891011121314151617181920212223242526272829 |
- <?php
- /**
- * [WeEngine System] Copyright (c) 2014 WE7.CC
- * WeEngine is NOT a free software, it under the license terms, visited http://www.we7.cc/ for more details.
- */
-
- defined('IN_IA') or exit('Access Denied');
-
- class PhoneappAccount extends WeAccount {
- protected $tablename = 'account_phoneapp';
- protected $menuFrame = 'phoneapp';
- protected $type = ACCOUNT_TYPE_PHONEAPP_NORMAL;
- protected $typeSign = PHONEAPP_TYPE_SIGN;
- protected $typeName = 'APP';
- protected $typeTempalte = '-phoneapp';
- protected $supportVersion = STATUS_ON;
-
- public function checkIntoManage() {
- if (empty($this->account) || (!empty($this->account['account']) && $this->account['type'] != ACCOUNT_TYPE_PHONEAPP_NORMAL && !defined('IN_MODULE'))) {
- return false;
- }
- return true;
- }
-
- protected function getAccountInfo($acid) {
- $account = table('account')->getPhoneappAccount($acid);
- return $account;
- }
- }
|