Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
account.php
1<?
2
4
12abstract class Account extends Retargeting\Account
13{
14 public const URL_ACCOUNT_LIST = '';
15 public const URL_INFO = '';
16
17 protected static $listRowMap = array(
18 'ID' => 'ID',
19 'NAME' => 'NAME',
20 );
21
22 protected $accountId;
23 protected $pageId;
24
30 public function __construct($accountId = null)
31 {
32 $this->accountId = $accountId;
33 parent::__construct();
34 }
35
41 public function getProfileCached()
42 {
43 return $this->getProfile();
44 }
45
51 public static function getUrlAccountList()
52 {
53 return static::URL_ACCOUNT_LIST;
54 }
55
61 public static function getUrlInfo()
62 {
63 return static::URL_INFO;
64 }
65
66 public function loginCompletion()
67 {
68 return new Result();
69 }
70
71 public function logout()
72 {
73 return new Result();
74 }
75
76 public function hasPageAccount()
77 {
78 return true;
79 }
80}
__construct($accountId=null)
Definition account.php:30