Bitrix API

Category

Class Category, create instance of this class and than you can attach it to your report

Tags
@property

array children

@property

array parent

Table of Contents

Methods

__get()  : mixed
Getter for not exist properties Return realtion value.
__set()  : $this
Setter for not exist properties.
getKey()  : string
getLabel()  : string
getParentKey()  : mixed
setKey()  : void
Setter for key of category.
setLabel()  : void
Setter for category label, this label will appear in categories lists.
setParentKey()  : void
Setter for parent category.

Methods

__get()

Getter for not exist properties Return realtion value.

public __get(string $value) : mixed
Parameters
$value : string

Relation name.

__set()

Setter for not exist properties.

public __set(string $key, mixed $value) : $this

All not exist properties will try to write to relations.

Parameters
$key : string

Key of set function.

$value : mixed

Value which try to set.

Return values
$this

getKey()

public getKey() : string
Return values
string

Category identify key.

getLabel()

public getLabel() : string
Return values
string

getParentKey()

public getParentKey() : mixed

setKey()

Setter for key of category.

public setKey(string $key) : void
Parameters
$key : string

Category identify key.

setLabel()

Setter for category label, this label will appear in categories lists.

public setLabel(string $label) : void
Parameters
$label : string

Label value.

setParentKey()

Setter for parent category.

public setParentKey(string $parentKey) : void
Parameters
$parentKey : string

Parent category key.


        
On this page

Search results