method
public
Format::__construct()
Сигнатура
public __construct(string $languageId) : mixed
Описание
Конструктор Format.
Параметры
$languageId
string
Возвращаемое значение
mixed
Как применяется в Format
Format::__construct() — метод класса \Bitrix\Location\Entity\Format модуля «Местоположения».
Конструктор: создаёт экземпляр Format — обязательные аргументы перечислены в разделе «Параметры».
use Bitrix\Main\Loader;
use Bitrix\Location\Entity\Format;
Loader::includeModule('location');
$languageId = '';
$object = new Format($languageId);Другие методы Format
getCode()getDelimiter()getDescription()getFieldForUnRecognized()getLanguageId()getName()getTemplate()setCode()setDelimiter()setDescription()setFieldForUnRecognized()setLanguageId()
__construct() есть и у других классов модуля «Местоположения»: Address, AddressLink, Location, StringTemplateConverter, Template.
Исходный файл: source/location/lib/entity/format.php:40

