method
public
BasketPropertiesCollection::clearStartField()
Сигнатура
public clearStartField() : bool
Возвращаемое значение
bool
Как применяется в BasketPropertiesCollection
BasketPropertiesCollection::clearStartField() — метод класса \Bitrix\Sale\BasketPropertiesCollection модуля «Интернет-магазин».
Метод объекта: сначала нужен экземпляр BasketPropertiesCollection.
use Bitrix\Main\Loader;
use Bitrix\Sale\BasketPropertiesCollection;
Loader::includeModule('sale');
/** @var BasketPropertiesCollection $object */
$result = $object->clearStartField();
// $result: boolДругие методы BasketPropertiesCollection
clearCollection()count()Подсчитывает количество элементов объекта.createItem()current()Возвращает текущий элемент.doFinalAction()getBasketItem()getIndexById()getItemById()getItemByIndex()getIterator()getList()Загружает свойства элемента корзины.getPropertyItemByValue()
clearStartField() есть и у других классов модуля «Интернет-магазин»: Basket, BasketBase, BasketItem, BasketItemBase, BasketItemCollection, BasketPropertiesCollectionBase, BasketPropertyItem, BasketPropertyItemBase.
Исходный файл: source/sale/lib/basketproperties.php:268

