method public

BasketPropertiesCollection::hasMeaningfulField()

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

Сигнатура

public hasMeaningfulField() : bool

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

bool

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

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

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

use Bitrix\Main\Loader;
use Bitrix\Sale\BasketPropertiesCollection;

Loader::includeModule('sale');

/** @var BasketPropertiesCollection $object */
$result = $object->hasMeaningfulField();
// $result: bool

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

hasMeaningfulField() есть и у других классов модуля «Интернет-магазин»: Basket, BasketBase, BasketItem, BasketItemBase, BasketItemCollection, BasketPropertiesCollectionBase, BasketPropertyItem, BasketPropertyItemBase.

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

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