Bitrix API

TaskPathMaker extends PathMaker

Table of Contents

Constants

AND  = '&'
DEFAULT_ACTION  = 'view'
EDIT_ACTION  = 'edit'
GROUP_CONTEXT  = 'group'
PERSONAL_CONTEXT  = 'personal'
SPACE_CONTEXT  = 'space'
START  = '?'

Properties

$action  : string
$allowedActions  : array<string|int, mixed>
$context  : string
$entityId  : int
$ownerId  : int
$queryParams  : string

Methods

__construct()  : mixed
addQueryParam()  : self
getPath()  : string
makeEntitiesListPath()  : string
makeEntityPath()  : string
setOwnerId()  : static
setQueryParams()  : self

Constants

DEFAULT_ACTION

public mixed DEFAULT_ACTION = 'view'

EDIT_ACTION

public mixed EDIT_ACTION = 'edit'

GROUP_CONTEXT

public mixed GROUP_CONTEXT = 'group'

PERSONAL_CONTEXT

public mixed PERSONAL_CONTEXT = 'personal'

SPACE_CONTEXT

public mixed SPACE_CONTEXT = 'space'

Properties

$allowedActions

public static array<string|int, mixed> $allowedActions = [self::DEFAULT_ACTION, self::EDIT_ACTION]

$queryParams

public string $queryParams = ''

Methods

__construct()

public __construct([int $entityId = 0 ][, string $action = self::DEFAULT_ACTION ][, int $ownerId = 0 ][, string $context = self::PERSONAL_CONTEXT ]) : mixed
Parameters
$entityId : int = 0
$action : string = self::DEFAULT_ACTION
$ownerId : int = 0
$context : string = self::PERSONAL_CONTEXT

addQueryParam()

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

getPath()

public static getPath(array<string|int, mixed> $fields) : string
Parameters
$fields : array<string|int, mixed>
Return values
string

makeEntitiesListPath()

public makeEntitiesListPath() : string
Return values
string

makeEntityPath()

public makeEntityPath() : string
Return values
string

setOwnerId()

public setOwnerId(int $ownerId) : static
Parameters
$ownerId : int
Return values
static

setQueryParams()

public setQueryParams(string $queryParams) : self
Parameters
$queryParams : string
Return values
self

        
On this page

Search results