PHP Class Bitrix24\Im\Attach\Attach

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

Protected Properties

Property Type Description
$attachItems array
$color string hex color see iAttach interface
$id integer Unix timestamp

Public Methods

Method Description
__construct ( null | integer $id = null, null | string $color = null ) Attach constructor.
add ( Bitrix24\Im\Attach\iAttachItem $attachItem )
getAttachItems ( ) : array
getData ( ) : array
setStatusAttention ( ) : mixed
setStatusNormal ( ) : mixed
setStatusProblem ( ) : mixed

Private Methods

Method Description
getAttachList ( ) : array

Method Details

__construct() public method

Attach constructor.
public __construct ( null | integer $id = null, null | string $color = null )
$id null | integer
$color null | string

add() public method

public add ( Bitrix24\Im\Attach\iAttachItem $attachItem )
$attachItem Bitrix24\Im\Attach\iAttachItem

getAttachItems() public method

public getAttachItems ( ) : array
return array

getData() public method

public getData ( ) : array
return array

setStatusAttention() public method

public setStatusAttention ( ) : mixed
return mixed

setStatusNormal() public method

public setStatusNormal ( ) : mixed
return mixed

setStatusProblem() public method

public setStatusProblem ( ) : mixed
return mixed

Property Details

$attachItems protected property

protected array $attachItems
return array

$color protected property

hex color see iAttach interface
protected string $color
return string

$id protected property

Unix timestamp
protected int $id
return integer