method public static

ByPrice::getClassTitle()

Класс: \Bitrix\Sale\Delivery\Restrictions\ByPrice

Сигнатура

public static getClassTitle() : string

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

string

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

ByPrice::getClassTitle() — метод класса \Bitrix\Sale\Delivery\Restrictions\ByPrice модуля «Интернет-магазин». ByPrice: Класс ByWeight Ограничивает доставку по весу.

Статический метод — вызывается через имя класса ByPrice, без создания объекта.

use Bitrix\Main\Loader;
use Bitrix\Sale\Delivery\Restrictions\ByPrice;

Loader::includeModule('sale');

$result = ByPrice::getClassTitle();
// $result: string

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

getClassTitle() есть и у других классов модуля «Интернет-магазин»: Automatic, AutomaticProfile, Base, Base, Base, Base, ByConcreteProduct, ByDimensions.

Исходный файл: source/sale/lib/delivery/restrictions/byprice.php:20

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