method public static

BasketItemBase::getClassName()

Класс: \Bitrix\Sale\BasketItemBase

Сигнатура

public static getClassName() : string

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

string

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

BasketItemBase::getClassName() — метод класса \Bitrix\Sale\BasketItemBase модуля «Интернет-магазин».

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

use Bitrix\Main\Loader;
use Bitrix\Sale\BasketItemBase;

Loader::includeModule('sale');

$result = BasketItemBase::getClassName();
// $result: string

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

getClassName() есть и у других классов модуля «Интернет-магазин»: BasketItem, BasketPropertyItem, BasketPropertyItemBase, CollectableEntity, Entity, Order, OrderBase, ProviderBuilder.

Исходный файл: source/sale/lib/basketitembase.php:655

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