Bitrix API

Quote extends EntityBase

Table of Contents

Methods

checkDeletePermission()  : mixed
checkReadPermission()  : mixed
cleanup()  : mixed
create()  : mixed
delete()  : mixed
getByID()  : array<string|int, mixed>|null
Get Entity By ID.
getCount()  : mixed
getDbTableAlias()  : mixed
getEntityMultifields()  : mixed
getEntityTypeID()  : mixed
getInstance()  : Quote
getLastID()  : int|mixed
Get id of last created item
getNewIDs()  : array<string|int, mixed>
Get ids of last created items
getResponsibleID()  : mixed
getTopIDs()  : array<string|int, mixed>
Get ids according to $params
isExists()  : bool
Check if Entity exists.
prepareFilter()  : mixed
selectExisted()  : array<string|int, mixed>
Select only existed entity IDs.
setEntityMultifields()  : mixed
update()  : mixed

Methods

checkDeletePermission()

public checkDeletePermission([mixed $entityID = 0 ][, mixed $userPermissions = null ]) : mixed
Parameters
$entityID : mixed = 0
$userPermissions : mixed = null

checkReadPermission()

public checkReadPermission([mixed $entityID = 0 ][, mixed $userPermissions = null ]) : mixed
Parameters
$entityID : mixed = 0
$userPermissions : mixed = null

cleanup()

public cleanup(mixed $entityID) : mixed
Parameters
$entityID : mixed

create()

public create(array<string|int, mixed> $fields) : mixed
Parameters
$fields : array<string|int, mixed>

delete()

public delete(mixed $entityID[, array<string|int, mixed> $options = array() ]) : mixed
Parameters
$entityID : mixed
$options : array<string|int, mixed> = array()

getByID()

Get Entity By ID.

public getByID(int $entityID) : array<string|int, mixed>|null
Parameters
$entityID : int

Entity ID.

Tags
throws
NotImplementedException
Return values
array<string|int, mixed>|null

getCount()

public getCount(array<string|int, mixed> $params) : mixed
Parameters
$params : array<string|int, mixed>

getDbTableAlias()

public getDbTableAlias() : mixed

getEntityMultifields()

public getEntityMultifields(mixed $entityID[, array<string|int, mixed> $options = null ]) : mixed
Parameters
$entityID : mixed
$options : array<string|int, mixed> = null

getEntityTypeID()

public getEntityTypeID() : mixed

getLastID()

Get id of last created item

public getLastID([int $userID = 0 ][, bool $enablePermissionCheck = true ]) : int|mixed
Parameters
$userID : int = 0
$enablePermissionCheck : bool = true
Return values
int|mixed

getNewIDs()

Get ids of last created items

public getNewIDs(mixed $offsetID[, string $order = 'DESC' ][, int $limit = 100 ][, int $userID = 0 ][, bool $enablePermissionCheck = true ][, int|null $categoryId = null ]) : array<string|int, mixed>
Parameters
$offsetID : mixed
$order : string = 'DESC'
$limit : int = 100
$userID : int = 0
$enablePermissionCheck : bool = true
$categoryId : int|null = null
Return values
array<string|int, mixed>

getResponsibleID()

public static getResponsibleID(mixed $entityID) : mixed
Parameters
$entityID : mixed

getTopIDs()

Get ids according to $params

public getTopIDs(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
$params : array<string|int, mixed>
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
array<string|int, mixed>

isExists()

Check if Entity exists.

public isExists(int $entityID) : bool
Parameters
$entityID : int

Entity ID.

Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
bool

prepareFilter()

public prepareFilter(array<string|int, mixed> &$filterFields[, array<string|int, mixed> $params = null ]) : mixed

Use \Bitrix\Main\Filter\Filter::getValue

Parameters
$filterFields : array<string|int, mixed>
$params : array<string|int, mixed> = null
Tags
see
Filter::getValue

selectExisted()

Select only existed entity IDs.

public static selectExisted(array<string|int, mixed> $entityIDs) : array<string|int, mixed>
Parameters
$entityIDs : array<string|int, mixed>

Deal IDs to check.

Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
array<string|int, mixed>

setEntityMultifields()

public setEntityMultifields(mixed $entityID, array<string|int, mixed> $data) : mixed
Parameters
$entityID : mixed
$data : array<string|int, mixed>

update()

public update(mixed $entityID, array<string|int, mixed> $fields) : mixed
Parameters
$entityID : mixed
$fields : array<string|int, mixed>

        
On this page

Search results