method
public
Format::setTemplateCollection()
Сигнатура
public setTemplateCollection(TemplateCollection $templateCollection) : $this
Параметры
$templateCollection
TemplateCollection
Возвращаемое значение
$this
Как применяется в Format
Format::setTemplateCollection() — метод класса \Bitrix\Location\Entity\Format модуля «Местоположения».
Метод объекта: сначала нужен экземпляр Format.
use Bitrix\Main\Loader;
use Bitrix\Location\Entity\Format;
Loader::includeModule('location');
/** @var Format $object */
$templateCollection = null; // TemplateCollection
$result = $object->setTemplateCollection($templateCollection);
// $result: $thisДругие методы Format
Исходный файл: source/location/lib/entity/format.php:172

