Current Path : /var/www/axolotl/data/www/yar.axolotls.ru/bitrix/modules/sale/lib/ |
Current File : /var/www/axolotl/data/www/yar.axolotls.ru/bitrix/modules/sale/lib/basketpropertiesitem.php |
<?php namespace Bitrix\Sale; use Bitrix\Main\Entity; use Bitrix\Sale\Internals; use Bitrix\Main\Localization\Loc; Loc::loadMessages(__FILE__); /** * Class BasketPropertyItem * @package Bitrix\Sale */ class BasketPropertyItem extends BasketPropertyItemBase { /** * @return string */ public static function getRegistryType() { return Registry::REGISTRY_TYPE_ORDER; } /** * @param array $data * @return Entity\AddResult */ protected function addInternal(array $data) { return Internals\BasketPropertyTable::add($data); } /** * @param $primary * @param array $data * @return Entity\UpdateResult */ protected function updateInternal($primary, array $data) { return Internals\BasketPropertyTable::update($primary, $data); } /** * @return array */ protected static function getFieldsMap() { return Internals\BasketPropertyTable::getMap(); } /** * @param array $parameters * @return \Bitrix\Main\ORM\Query\Result|Internals\EO_BasketProperty_Result|mixed * @throws \Bitrix\Main\ArgumentException * @throws \Bitrix\Main\ObjectPropertyException * @throws \Bitrix\Main\SystemException */ public static function getList(array $parameters = []) { return Internals\BasketPropertyTable::getList($parameters); } }