Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс PropertyTypeSettings

Открытые члены

 __construct (string $propertyType, ?string $userType=null)
 
 getPropertyType ()
 
 getUserType ()
 
 appendShowedFields (array $fields)
 
 appendHiddenFields (array $fields)
 
 isShownField (string $fieldName)
 
 getSettingsHtml ()
 
 getDefaultValueHtml ()
 
 getSetValues ()
 

Открытые статические члены

static createByUserType (string $propertyType, string $userType, array $propertyFields, ?string $htmlName='USER_TYPE_SETTINGS')
 

Подробное описание

См. определение в файле propertytypesettings.php строка 8

Конструктор(ы)

◆ __construct()

__construct ( string $propertyType,
?string $userType = null )
Аргументы
string$propertyType
string | null$userType

См. определение в файле propertytypesettings.php строка 22

Методы

◆ appendHiddenFields()

appendHiddenFields ( array $fields)

См. определение в файле propertytypesettings.php строка 122

◆ appendShowedFields()

appendShowedFields ( array $fields)

См. определение в файле propertytypesettings.php строка 117

◆ createByUserType()

static createByUserType ( string $propertyType,
string $userType,
array $propertyFields,
?string $htmlName = 'USER_TYPE_SETTINGS' )
static

Factory method for creating and filling an instance with html settings or editor fields.

Аргументы
string$propertyType
string$userType
array$propertyFields
string | null$htmlName
Возвращает
self

См. определение в файле propertytypesettings.php строка 147

◆ getDefaultValueHtml()

getDefaultValueHtml ( )

См. определение в файле propertytypesettings.php строка 250

◆ getPropertyType()

getPropertyType ( )

Property type (is simple).

If property with user type (as S:HTML), this method returns S.

Возвращает
string

См. определение в файле propertytypesettings.php строка 37

◆ getSettingsHtml()

getSettingsHtml ( )

См. определение в файле propertytypesettings.php строка 245

◆ getSetValues()

getSetValues ( )

См. определение в файле propertytypesettings.php строка 255

◆ getUserType()

getUserType ( )

Property user type.

Возвращает
string|null

См. определение в файле propertytypesettings.php строка 47

◆ isShownField()

isShownField ( string $fieldName)

Checking whether the field is displayed.

Аргументы
string$fieldName
Возвращает
bool

См. определение в файле propertytypesettings.php строка 230