method
public
static
CollectableEntity::getAllFields()
Сигнатура
public static getAllFields() : array<string|int, mixed>
Возвращаемое значение
array<string|int, mixed>
Как применяется в CollectableEntity
CollectableEntity::getAllFields() — метод класса \Bitrix\Sale\Internals\CollectableEntity модуля «Интернет-магазин».
Статический метод — вызывается через имя класса CollectableEntity, без создания объекта.
use Bitrix\Main\Loader;
use Bitrix\Sale\Internals\CollectableEntity;
Loader::includeModule('sale');
$result = CollectableEntity::getAllFields();
// $result: array<string|int, mixed>Другие методы CollectableEntity
clearStartField()delete()doFinalAction()getAvailableFields()getAvailableFieldsMap()getClassName()getCollection()getCustomizableFields()getField()getFieldsDescription()getFieldValues()getId()
getAllFields() есть и у других классов модуля «Интернет-магазин»: BasketItem, BasketItemBase, BasketPropertyItem, BasketPropertyItemBase, Entity, Order, OrderBase, Shipment.
Исходный файл: source/sale/lib/internals/collectableentity.php:84

