Bitrix API

TaskQuery implements TaskQueryInterface

Table of Contents

Interfaces

TaskQueryInterface

Methods

__construct()  : mixed
addGroupBy()  : $this
addSelect()  : $this
addWhere()  : self
andWhere()  : $this
getBehalfUser()  : int
getCountTotal()  : int
getDistinct()  : bool
getGroupBy()  : array<string|int, mixed>
getId()  : string
getLimit()  : int
getOffset()  : int
getOrderBy()  : array<string|int, mixed>
getParam()  : mixed|null
getSelect()  : array<string|int, mixed>
getUserId()  : int
getWhere()  : array<string|int, mixed>
needAccessCheck()  : bool
needMakeAccessFilter()  : self
needSeparated()  : bool
needTitleEscape()  : bool
needUfEscape()  : bool
setBehalfUser()  : $this
setDistinct()  : self
setGroupBy()  : $this
setLimit()  : $this
setOffset()  : $this
setOrder()  : $this
setParam()  : $this
setSelect()  : $this
setWhere()  : $this
skipAccessCheck()  : $this
skipTitleEscape()  : $this
skipUfEscape()  : $this

Methods

__construct()

public __construct([int $userId = 0 ]) : mixed
Parameters
$userId : int = 0

addSelect()

public addSelect(array<string|int, mixed>|string $select) : $this
Parameters
$select : array<string|int, mixed>|string
Return values
$this

alias => column or column only

addWhere()

public addWhere(string $key, mixed $value) : self
Parameters
$key : string
$value : mixed
Return values
self

andWhere()

public andWhere(mixed $filter) : $this
Parameters
$filter : mixed
Return values
$this

getBehalfUser()

public getBehalfUser() : int
Return values
int

getCountTotal()

public getCountTotal() : int
Return values
int

getDistinct()

public getDistinct() : bool
Return values
bool

getGroupBy()

public getGroupBy() : array<string|int, mixed>
Return values
array<string|int, mixed>

getId()

public getId() : string
Return values
string

getLimit()

public getLimit() : int
Return values
int

getOffset()

public getOffset() : int
Return values
int

getOrderBy()

public getOrderBy() : array<string|int, mixed>
Return values
array<string|int, mixed>

getParam()

public getParam(string $key) : mixed|null
Parameters
$key : string
Return values
mixed|null

getSelect()

public getSelect() : array<string|int, mixed>
Return values
array<string|int, mixed>

getUserId()

public getUserId() : int
Return values
int

getWhere()

public getWhere() : array<string|int, mixed>
Return values
array<string|int, mixed>

needAccessCheck()

public needAccessCheck() : bool
Return values
bool

needMakeAccessFilter()

public needMakeAccessFilter() : self
Return values
self

needSeparated()

public needSeparated() : bool
Return values
bool

needTitleEscape()

public needTitleEscape() : bool
Return values
bool

needUfEscape()

public needUfEscape() : bool
Return values
bool

setBehalfUser()

public setBehalfUser(int $userId) : $this
Parameters
$userId : int
Return values
$this

setDistinct()

public setDistinct(bool $distinct) : self
Parameters
$distinct : bool
Return values
self

setLimit()

public setLimit(int $limit) : $this
Parameters
$limit : int
Return values
$this

setOffset()

public setOffset(int $offset) : $this
Parameters
$offset : int
Return values
$this

setOrder()

public setOrder(string|array<string|int, mixed> $order) : $this
Parameters
$order : string|array<string|int, mixed>
Return values
$this

Column or list of columns [ column => sort, column ]

setParam()

public setParam(string $key, mixed $value) : $this
Parameters
$key : string
$value : mixed
Return values
$this

setSelect()

public setSelect([array<string|int, mixed>|string $select = [] ]) : $this
Parameters
$select : array<string|int, mixed>|string = []
Return values
$this

setWhere()

public setWhere(mixed $filter) : $this
Parameters
$filter : mixed
Return values
$this

skipAccessCheck()

public skipAccessCheck() : $this
Return values
$this

skipTitleEscape()

public skipTitleEscape() : $this
Return values
$this

skipUfEscape()

public skipUfEscape() : $this
Return values
$this

        
On this page

Search results