Bitrix API

GridPanel

Class GridPanel

Table of Contents

Methods

appendActions()  : void
Return true if can use.
canCurrentUserAddLetters()  : bool
Return true if current user can modify letters.
canCurrentUserModifySegments()  : bool
Return true if current user can modify segments.
canCurrentUserUse()  : bool
Return true if current user can use.
canUse()  : bool
Return true if can use.
getActionAddLetter()  : array<string|int, mixed>
Get action `add letter`.
getActionAddToSegment()  : array<string|int, mixed>
Get action `Add to segment`.
getLetterTypesDropdownItems()  : array<string|int, mixed>
getPathToAddLetter()  : bool
Get path to `letter add` page.
getPathToEditSegment()  : bool
Get path to `letter add` page.
getSegmentsDropdownItems()  : array<string|int, mixed>
isEntityTypeSupported()  : bool

Methods

appendActions()

Return true if can use.

public static appendActions(array<string|int, mixed> &$actionList, array<string|int, mixed> $applyButton, string $gridManagerID) : void
Parameters
$actionList : array<string|int, mixed>

Action list.

$applyButton : array<string|int, mixed>

Apply button.

$gridManagerID : string

Grid manager ID.

canCurrentUserAddLetters()

Return true if current user can modify letters.

public static canCurrentUserAddLetters() : bool
Return values
bool

canCurrentUserModifySegments()

Return true if current user can modify segments.

public static canCurrentUserModifySegments() : bool
Return values
bool

canCurrentUserUse()

Return true if current user can use.

public static canCurrentUserUse() : bool
Return values
bool

canUse()

Return true if can use.

public static canUse() : bool
Return values
bool

getActionAddLetter()

Get action `add letter`.

public static getActionAddLetter(array<string|int, mixed> $applyButton, string $gridManagerID) : array<string|int, mixed>
Parameters
$applyButton : array<string|int, mixed>

Apply button.

$gridManagerID : string

Grid manager ID.

Return values
array<string|int, mixed>

getActionAddToSegment()

Get action `Add to segment`.

public static getActionAddToSegment(array<string|int, mixed> $applyButton, string $gridManagerID) : array<string|int, mixed>
Parameters
$applyButton : array<string|int, mixed>

Apply button.

$gridManagerID : string

Grid manager ID.

Return values
array<string|int, mixed>

getLetterTypesDropdownItems()

public final static getLetterTypesDropdownItems() : array<string|int, mixed>
Return values
array<string|int, mixed>

getPathToAddLetter()

Get path to `letter add` page.

public static getPathToAddLetter() : bool
Return values
bool

getPathToEditSegment()

Get path to `letter add` page.

public static getPathToEditSegment() : bool
Return values
bool

getSegmentsDropdownItems()

public final static getSegmentsDropdownItems() : array<string|int, mixed>
Return values
array<string|int, mixed>

isEntityTypeSupported()

public final static isEntityTypeSupported(int $entityTypeId) : bool
Parameters
$entityTypeId : int
Return values
bool

        
On this page

Search results