Bitrix API

Icon extends Base

Table of Contents

Constants

BACKGROUND_FAILURE  = 'failure'
BACKGROUND_PRIMARY  = 'primary'
BACKGROUND_PRIMARY_ALT  = 'primary_alt'
COUNTER_TYPE_DANGER  = 'danger'
COUNTER_TYPE_SUCCESS  = 'success'

Methods

getBackgroundColor()  : string|null
getBackgroundColorToken()  : string|null
getBackgroundUri()  : string|null
getCode()  : string
getCounterType()  : string|null
setBackgroundColor()  : Icon
setBackgroundColorToken()  : self
setBackgroundUri()  : self
setCode()  : self
setCounterType()  : self
toArray()  : array<string|int, mixed>

Constants

BACKGROUND_FAILURE

public mixed BACKGROUND_FAILURE = 'failure'

BACKGROUND_PRIMARY

public mixed BACKGROUND_PRIMARY = 'primary'

BACKGROUND_PRIMARY_ALT

public mixed BACKGROUND_PRIMARY_ALT = 'primary_alt'

COUNTER_TYPE_DANGER

public mixed COUNTER_TYPE_DANGER = 'danger'

COUNTER_TYPE_SUCCESS

public mixed COUNTER_TYPE_SUCCESS = 'success'

Methods

getBackgroundColor()

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

getBackgroundColorToken()

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

getBackgroundUri()

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

getCode()

public getCode() : string
Return values
string

getCounterType()

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

setBackgroundColor()

public setBackgroundColor(string|null $backgroundColor) : Icon
Parameters
$backgroundColor : string|null
Return values
Icon

setBackgroundColorToken()

public setBackgroundColorToken(string|null $backgroundColorToken) : self
Parameters
$backgroundColorToken : string|null
Return values
self

setBackgroundUri()

public setBackgroundUri(string|null $backgroundUri) : self
Parameters
$backgroundUri : string|null
Return values
self

setCode()

public setCode(string $className) : self
Parameters
$className : string
Return values
self

setCounterType()

public setCounterType(string|null $counterType) : self
Parameters
$counterType : string|null
Return values
self

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results