method public

IntegerField::getConnection()

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

Сигнатура

public getConnection() : Connection

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

Connection

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

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

Метод объекта: сначала нужен экземпляр IntegerField.

use Bitrix\Main\ORM\Fields\IntegerField;

/** @var IntegerField $object */
$result = $object->getConnection();
// $result: Connection

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

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

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

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