method public static

BasketItem::getClassName()

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

Сигнатура

public static getClassName() : string

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

string

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

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

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

use Bitrix\Main\Loader;
use Bitrix\Sale\BasketItem;

Loader::includeModule('sale');

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

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

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

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

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