ResultLimit implements JsonSerializable
FinalYes
Table of Contents
Interfaces
- JsonSerializable
Methods
- __construct() : mixed
- getButtons() : array<string|int, mixed>
- Gets the limit buttons
- getDescription() : string|null
- Return the limit description
- getTitle() : string
- Returns the limit title
- getType() : string|null
- Returns the element type. For example: lead, deal, file, folder, etc.
- jsonSerialize() : mixed
- Specify data which should be serialized to JSON
- setButtons() : $this
- Sets the limit buttons
- setDescription() : $this
- Sets the limit description
- setTitle() : $this
- Sets the limit title
- setType() : $this
- Sets the element type. For example: lead, deal, file, folder, etc.
Methods
__construct()
public
__construct(mixed $type, mixed $title[, mixed $description = null ]) : mixed
Parameters
- $type : mixed
- $title : mixed
- $description : mixed = null
getButtons()
Gets the limit buttons
public
getButtons() : array<string|int, mixed>
Return values
array<string|int, mixed>getDescription()
Return the limit description
public
getDescription() : string|null
Return values
string|nullgetTitle()
Returns the limit title
public
getTitle() : string
Return values
stringgetType()
Returns the element type. For example: lead, deal, file, folder, etc.
public
getType() : string|null
Return values
string|nulljsonSerialize()
Specify data which should be serialized to JSON
public
jsonSerialize() : mixed
Tags
Return values
mixed —data which can be serialized by json_encode, which is a value of any type other than a resource.
setButtons()
Sets the limit buttons
public
setButtons(mixed $buttons) : $this
Parameters
- $buttons : mixed
Return values
$thissetDescription()
Sets the limit description
public
setDescription(mixed $description) : $this
Parameters
- $description : mixed
Return values
$thissetTitle()
Sets the limit title
public
setTitle(mixed $title) : $this
Parameters
- $title : mixed
Return values
$thissetType()
Sets the element type. For example: lead, deal, file, folder, etc.
public
setType(string $type) : $this
Parameters
- $type : string