PHP Class Bitrix24\Im\Attach\Item\Grid

Inheritance: implements Bitrix24\Im\Attach\iAttachItem
Show file Open project: mesilov/bitrix24-php-sdk Class Usage Examples

Protected Properties

Property Type Description
$arGridItems array

Public Methods

Method Description
__construct ( ) Grid constructor.
addBlockItem ( $name, $value, null $color = null, null $link = null, null $chatId = null, null $userId = null )
addColumnItem ( $name, $value, $width, null $color = null, null $link = null, null $chatId = null, null $userId = null )
addLineItem ( $name, $value, $width, null $color = null, null $link = null, null $chatId = null, null $userId = null )
getAttachData ( ) : array
getAttachTypeCode ( ) : string

Method Details

__construct() public method

Grid constructor.
public __construct ( )

addBlockItem() public method

public addBlockItem ( $name, $value, null $color = null, null $link = null, null $chatId = null, null $userId = null )
$name
$value
$color null
$link null
$chatId null
$userId null

addColumnItem() public method

public addColumnItem ( $name, $value, $width, null $color = null, null $link = null, null $chatId = null, null $userId = null )
$name
$value
$color null
$link null
$chatId null
$userId null

addLineItem() public method

public addLineItem ( $name, $value, $width, null $color = null, null $link = null, null $chatId = null, null $userId = null )
$name
$value
$width
$color null
$link null
$chatId null
$userId null

getAttachData() public method

public getAttachData ( ) : array
return array

getAttachTypeCode() public method

public getAttachTypeCode ( ) : string
return string

Property Details

$arGridItems protected property

protected array $arGridItems
return array