Badge
class Badge implements ItemInterface
Traits
Constants
| PRIORITY_DEFAULT |
|
| PRIORITY_ATTENTION |
|
| PRIORITY_NOTE |
|
| PRIORITY_WARNING |
|
| PRIORITY_SUCCESS |
|
Methods
string
__toString()
No description
static Badge
create(int $userId, I18nTokenHelper $title, I18nTokenHelper $description = null, string $priority = '')
No description
string
getPriority()
No description
int
getUserId()
No description
array
jsonSerialize()
Transforms the array structure of this option into a JSON string.
from
ItemTrait
string
render()
No description
array
toArray()
No description
Details
at line 79
string
__toString()
No description
at line 53
static Badge
create(int $userId, I18nTokenHelper $title, I18nTokenHelper $description = null, string $priority = '')
No description
at line 20
string
getPriority()
No description
at line 86
int
getUserId()
No description
in
ItemTrait at line 13
array
jsonSerialize()
Transforms the array structure of this option into a JSON string.
at line 60
string
render()
No description
at line 67
array
toArray()
No description