Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс StoreDocument
+ Граф наследования:StoreDocument:

Открытые члены

 __construct (int $id)
 
 getId ()
 
 getType ()
 

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

static createFromId (int $itemId)
 
static createFromArray (array $fields)
 
static createForSaleRealization (int $id)
 

Открытые атрибуты

const TYPE_ARRIVAL = StoreDocumentTable::TYPE_ARRIVAL
 
const TYPE_STORE_ADJUSTMENT = StoreDocumentTable::TYPE_STORE_ADJUSTMENT
 
const TYPE_MOVING = StoreDocumentTable::TYPE_MOVING
 
const TYPE_DEDUCT = StoreDocumentTable::TYPE_DEDUCT
 
const TYPE_SALES_ORDERS = StoreDocumentTable::TYPE_SALES_ORDERS
 

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

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

Конструктор(ы)

◆ __construct()

__construct ( int $id)
Аргументы
int$id

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

Методы

◆ createForSaleRealization()

static createForSaleRealization ( int $id)
static

Create for sale realization.

Sets need document type.

Аргументы
int$id
Возвращает
StoreDocument

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

◆ createFromArray()

static createFromArray ( array $fields)
static

Create from fields array.

Аргументы
array$fields
Возвращает
StoreDocument

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

◆ createFromId()

static createFromId ( int $itemId)
static

@inheritDoc

Возвращает
StoreDocument

Замещает AccessibleItem.

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

◆ getId()

getId ( )

@inheritDoc

Замещает AccessibleItem.

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

◆ getType()

getType ( )

Document type.

Возвращает
string|null returns null is document not found.

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

Данные класса

◆ TYPE_ARRIVAL

const TYPE_ARRIVAL = StoreDocumentTable::TYPE_ARRIVAL

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

◆ TYPE_DEDUCT

const TYPE_DEDUCT = StoreDocumentTable::TYPE_DEDUCT

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

◆ TYPE_MOVING

const TYPE_MOVING = StoreDocumentTable::TYPE_MOVING

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

◆ TYPE_SALES_ORDERS

const TYPE_SALES_ORDERS = StoreDocumentTable::TYPE_SALES_ORDERS

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

◆ TYPE_STORE_ADJUSTMENT

const TYPE_STORE_ADJUSTMENT = StoreDocumentTable::TYPE_STORE_ADJUSTMENT

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