Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
address.php
1<?php
2
4
9
10Loader::includeModule('location');
11
12Loc::loadMessages(__FILE__);
13
15{
16 const USER_TYPE_ID = AddressType::USER_TYPE_ID;
17
18 const BITRIX24_RESTRICTION = AddressType::BITRIX24_RESTRICTION;
19 const BITRIX24_RESTRICTION_CODE = AddressType::BITRIX24_RESTRICTION_CODE;
20
21 protected static $restrictionCount = null;
22
23 public static function getUserTypeDescription()
24 {
25 return AddressType::getUserTypeDescription();
26 }
27
28 public static function getApiKey()
29 {
30 return AddressType::getApiKey();
31 }
32
33 public static function getApiKeyHint()
34 {
35 return AddressType::getApiKeyHint();
36 }
37
38 public static function getTrialHint()
39 {
40 return AddressType::getTrialHint();
41 }
42
43 public static function canUseMap()
44 {
45 return AddressType::canUseMap();
46 }
47
48 public static function checkRestriction()
49 {
50 return AddressType::checkRestriction();
51 }
52
53 public static function useRestriction()
54 {
55 return AddressType::useRestriction();
56 }
57
58 function prepareSettings($userField)
59 {
60 return AddressType::prepareSettings($userField);
61 }
62
63 public static function getDbColumnType($userField)
64 {
65 return AddressType::getDbColumnType();
66 }
67
68 function checkFields($userField, $value)
69 {
70 return AddressType::checkFields($userField, $value);
71 }
72
73 function onBeforeSave($userField, $value)
74 {
75 return AddressType::onBeforeSave($userField, $value);
76 }
77
78 function getSettingsHtml($userField, $additionalParameters, $varsFromForm)
79 {
80 return AddressType::renderSettings($userField, $additionalParameters, $varsFromForm);
81 }
82
83 function getEditFormHtml($userField, $additionalParameters)
84 {
85 return AddressType::renderEditForm($userField, $additionalParameters);
86 }
87
88 function getEditFormHtmlMulty($userField, $additionalParameters)
89 {
90 return AddressType::renderEditForm($userField, $additionalParameters);
91 }
92
93 public static function getPublicEdit($userField, $additionalParameters = array())
94 {
95 return AddressType::RenderEdit($userField, $additionalParameters);
96 }
97
98 public static function getPublicView($userField, $additionalParameters = array())
99 {
100 return AddressType::renderView($userField, $additionalParameters);
101 }
102
103 public static function getPublicText($userField)
104 {
105 return AddressType::renderText($userField);
106 }
107
108 public static function getAdminListViewHtml($userField, $additionalParameters){
109 return AddressType::renderAdminListView($userField, $additionalParameters);
110 }
111
112 public static function getAdminListEditHtml($userField, $additionalParameters){
113 return AddressType::renderAdminListEdit($userField, $additionalParameters);
114 }
115}
static getDbColumnType($userField)
Definition address.php:63
getEditFormHtml($userField, $additionalParameters)
Definition address.php:83
getSettingsHtml($userField, $additionalParameters, $varsFromForm)
Definition address.php:78
onBeforeSave($userField, $value)
Definition address.php:73
static getPublicEdit($userField, $additionalParameters=array())
Definition address.php:93
static getPublicText($userField)
Definition address.php:103
static getPublicView($userField, $additionalParameters=array())
Definition address.php:98
getEditFormHtmlMulty($userField, $additionalParameters)
Definition address.php:88
static getAdminListEditHtml($userField, $additionalParameters)
Definition address.php:112
checkFields($userField, $value)
Definition address.php:68
static getAdminListViewHtml($userField, $additionalParameters)
Definition address.php:108
static loadMessages($file)
Definition loc.php:64