method
public
Format::setName()
Сигнатура
public setName(string $name) : $this
Параметры
$name
string
Возвращаемое значение
$this
Как применяется в Format
Format::setName() — метод класса \Bitrix\Location\Entity\Format модуля «Местоположения».
Метод объекта: сначала нужен экземпляр Format.
use Bitrix\Main\Loader;
use Bitrix\Location\Entity\Format;
Loader::includeModule('location');
/** @var Format $object */
$name = '';
$result = $object->setName($name);
// $result: $thisДругие методы Format
getCode()getDelimiter()getDescription()getFieldForUnRecognized()getLanguageId()getName()getTemplate()setCode()setDelimiter()setDescription()setFieldForUnRecognized()setLanguageId()
setName() есть и у других классов модуля «Местоположения»: Location.
Исходный файл: source/location/lib/entity/format.php:59

