method public static Устаревший

IntegerField::getClassByOldDataType()

Класс: \Bitrix\Main\ORM\Fields\IntegerField

Сигнатура

public static getClassByOldDataType(mixed $dateType) : bool

Параметры

$dateType mixed

Возвращаемое значение

bool

Как применяется в IntegerField

IntegerField::getClassByOldDataType() — метод класса \Bitrix\Main\ORM\Fields\IntegerField модуля «Главный модуль». IntegerField: Класс поля сущности для типа данных integer.

Статический метод — вызывается через имя класса IntegerField, без создания объекта.

use Bitrix\Main\ORM\Fields\IntegerField;

$dateType = null;
$result = IntegerField::getClassByOldDataType($dateType);
// $result: bool

Другие методы IntegerField

getClassByOldDataType() есть и у других классов модуля «Главный модуль»: ArrayField, BooleanField, CryptoField, DateField, DatetimeField, DecimalField, EnumField, ExpressionField.

Исходный файл: source/main/lib/orm/fields/integerfield.php:609

Что будем искать? Например,Продвижение