method public

Format::setDescription()

Класс: \Bitrix\Location\Entity\Format

Сигнатура

public setDescription(string $description) : $this

Параметры

$description string

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

$this

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

Format::setDescription() — метод класса \Bitrix\Location\Entity\Format модуля «Местоположения».

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

use Bitrix\Main\Loader;
use Bitrix\Location\Entity\Format;

Loader::includeModule('location');

/** @var Format $object */
$description = '';
$result = $object->setDescription($description);
// $result: $this

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

Исходный файл: source/location/lib/entity/format.php:77

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