Card deprecated
class Card extends Stat (View source)
deprecated
Traits
Properties
static protected Closure>> | $macros | from Macroable | |
protected float[] | $chart | from Stat | |
protected string | $chartColor | from Stat | |
protected string | $color | from Stat | |
protected string|null | $icon | from Stat | |
protected Htmlable|null | $description | from Stat | |
protected string|null | $descriptionIcon | from Stat | |
protected IconPosition|string|null | $descriptionIconPosition | from Stat | |
protected string | $descriptionColor | from Stat | |
protected array<string,scalar> | $extraAttributes | from Stat | |
protected bool | $shouldOpenUrlInNewTab | from Stat | |
protected string|null | $url | from Stat | |
protected string|null | $id | from Stat | |
protected Htmlable | $label | from Stat | |
protected scalar | $value | from Stat |
Methods
descriptionIcon(string|null $icon, IconPosition|string|null $position = null)
No description
from
Stat
Details
static void
macro(string $name, callable $macro)
No description
static void
mixin(object $mixin, bool $replace = true)
No description
static void
flushMacros()
No description
static mixed
__callStatic(string $method, array $parameters)
No description
mixed
__call(string $method, array $parameters)
No description
static protected callable|null
getMacro(string $method)
No description
in
Stat at line 67
final
__construct(Htmlable $label, $value)
No description
in
Stat at line 76
static Stat
make(Htmlable $label, $value)
No description
in
Stat at line 84
Stat
chartColor(string|array|null $color)
No description
in
Stat at line 94
Stat
color(string|array|null $color)
No description
in
Stat at line 101
Stat
icon(string|null $icon)
No description
in
Stat at line 108
Stat
description(Htmlable|null $description)
No description
in
Stat at line 118
Stat
descriptionColor(string|array|null $color)
No description
in
Stat at line 125
Stat
descriptionIcon(string|null $icon, IconPosition|string|null $position = null)
No description
in
Stat at line 136
Stat
extraAttributes(array $attributes)
No description
in
Stat at line 143
Stat
openUrlInNewTab(bool $condition = true)
No description
in
Stat at line 150
Stat
url(string|null $url, bool $shouldOpenInNewTab = false)
No description
in
Stat at line 161
Stat
chart(array|null $chart)
No description
in
Stat at line 168
Stat
label(Htmlable $label)
No description
in
Stat at line 175
Stat
id(string $id)
No description
in
Stat at line 185
Stat
value($value)
No description
in
Stat at line 195
array|null
getChart()
No description
in
Stat at line 203
string|array|null
getChartColor()
No description
in
Stat at line 211
string|array|null
getColor()
No description
in
Stat at line 216
string|null
getIcon()
No description
in
Stat at line 221
Htmlable|null
getDescription()
No description
in
Stat at line 229
string|array|null
getDescriptionColor()
No description
in
Stat at line 234
string|null
getDescriptionIcon()
No description
in
Stat at line 239
IconPosition|string
getDescriptionIconPosition()
No description
in
Stat at line 247
array
getExtraAttributes()
No description
in
Stat at line 252
ComponentAttributeBag
getExtraAttributeBag()
No description
in
Stat at line 257
string|null
getUrl()
No description
in
Stat at line 262
bool
shouldOpenUrlInNewTab()
No description
in
Stat at line 267
Htmlable
getLabel()
No description
in
Stat at line 272
string
getId()
No description
in
Stat at line 280
scalar
getValue()
No description
in
Stat at line 285
string
toHtml()
No description
in
Stat at line 290
View
render()
No description
in
Stat at line 295
string
generateDataChecksum()
No description