Bitrix API

ChannelGroupInfo implements IChannelGroupInfo

Table of Contents

Interfaces

IChannelGroupInfo

Methods

__construct()  : mixed
compareBySort()  : int
Compare
getCaption()  : string
Get channel group caption.
getID()  : string
Get channel group ID.
getParentID()  : null|string
Returns parent group ID.
getSort()  : int
Get channel group gort.
getUrl()  : string
Get channel group URL.
isDisplayable()  : bool
Check if channel group is displayable Items of not displayable group will be displayed at top-level as non-grouped.
setParentID()  : void
Sets parent group ID.
sort()  : mixed

Methods

__construct()

public __construct(mixed $tracker, mixed $ID[, mixed $caption = '' ][, mixed $sort = 1000 ][, mixed $isDisplayable = true ][, mixed $url = '' ]) : mixed
Parameters
$tracker : mixed
$ID : mixed
$caption : mixed = ''
$sort : mixed = 1000
$isDisplayable : mixed = true
$url : mixed = ''

getCaption()

Get channel group caption.

public getCaption() : string
Return values
string

getID()

Get channel group ID.

public getID() : string
Return values
string

getParentID()

Returns parent group ID.

public getParentID() : null|string
Return values
null|string

getSort()

Get channel group gort.

public getSort() : int
Return values
int

getUrl()

Get channel group URL.

public getUrl() : string
Return values
string

isDisplayable()

Check if channel group is displayable Items of not displayable group will be displayed at top-level as non-grouped.

public isDisplayable() : bool
Return values
bool

setParentID()

Sets parent group ID.

public setParentID(string $parent) : void
Parameters
$parent : string

sort()

public static sort(array<string|int, mixed> $items) : mixed
Parameters
$items : array<string|int, mixed>

        
On this page

Search results