1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Manager

Открытые статические члены

static getOrderFieldNames ()
static getBasketFieldNames ()
static archiveByOptions ($limit=null, $timeExecution=null)
static archiveOnAgent ($limit, $maxTime=null)
static getList (array $parameters=array())
static getById ($id)
static getBasketList (array $parameters=array())
static getBasketItemById ($id)
static delete ($id)
static returnArchivedOrder ($id)

Поля данных

const SALE_ARCHIVE_VERSION = 2

Подробное описание

См. определение в файле manager.php строка 18

Методы

◆ archiveByOptions()

archiveByOptions ( $limit = null,
$timeExecution = null )
static

Archive orders that are selected by module's settings.

Used in agents.

Аргументы
int$limitLimit the selection orders.
int$timeExecutionLimits the maximum execution time.
Возвращает
Sale\Result
Исключения
Main

SystemException

См. определение в файле manager.php строка 119

◆ archiveOnAgent()

archiveOnAgent ( $limit,
$maxTime = null )
static

Used in agents. Manage execution of agent.

Аргументы
int$limitLimit the selection orders.
int$maxTimeMaximum execution time of agent.
Возвращает
string
Исключения
Main

ArgumentNullException

См. определение в файле manager.php строка 155

◆ delete()

delete ( $id)
static

Delete archived order with archived basket items.

Аргументы
int$id
Возвращает
Main\Entity\DeleteResult
Исключения

Exception

См. определение в файле manager.php строка 256

◆ getBasketFieldNames()

getBasketFieldNames ( )
static
Возвращает
array

См. определение в файле manager.php строка 36

◆ getBasketItemById()

getBasketItemById ( $id)
static

Get entry of basket item from archive by id.

Аргументы
int$id
Возвращает
Main\DB\Result
Исключения
Main

ArgumentException

См. определение в файле manager.php строка 243

◆ getBasketList()

getBasketList ( array $parameters = array())
static

Get entries of basket items from archive.

Аргументы
array$parameters
Возвращает
Main\DB\Result
Исключения
Main

ArgumentException

См. определение в файле manager.php строка 230

◆ getById()

getById ( $id)
static

Get entry of order from archive by entry's id.

Аргументы
int$id
Возвращает
Main\DB\Result

См. определение в файле manager.php строка 217

◆ getList()

getList ( array $parameters = array())
static
Аргументы
array$parameters
Возвращает
Main\DB\Result

См. определение в файле manager.php строка 205

◆ getOrderFieldNames()

getOrderFieldNames ( )
static
Возвращает
array

См. определение в файле manager.php строка 25

◆ returnArchivedOrder()

returnArchivedOrder ( $id)
static

Return Archive\Order object restored from archive

Аргументы
int$idEntity's id.
Возвращает
Sale\Order
Исключения
Main

ObjectNotFoundException

Исключения
Main

ArgumentNullException

См. определение в файле manager.php строка 281

Поля

◆ SALE_ARCHIVE_VERSION

const SALE_ARCHIVE_VERSION = 2

См. определение в файле manager.php строка 20


Объявления и описания членов класса находятся в файле: