method
public
static
SecretField::getDefaultKey()
Сигнатура
public static getDefaultKey() : mixed
Возвращаемое значение
mixed
Как применяется в SecretField
SecretField::getDefaultKey() — метод класса \Bitrix\Main\ORM\Fields\SecretField модуля «Главный модуль». SecretField: Класс поля сущности для типа данных text.
Статический метод — вызывается через имя класса SecretField, без создания объекта.
use Bitrix\Main\ORM\Fields\SecretField;
$result = SecretField::getDefaultKey();
// $result: mixedДругие методы SecretField
addFetchDataModifier()addSaveDataModifier()addValidator()cast()Строго приводит значение к типу поля.configureAutocomplete()configureBinary()configureColumnName()configureDefaultValue()configureFormat()configureFulltext()configureLong()configureNullable()
getDefaultKey() есть и у других классов модуля «Главный модуль»: CryptoField.
Исходный файл: source/main/lib/orm/fields/secretfield.php:99

