14 class Glyph implements C\Glyph\Glyph
54 , self::SORT_ASCENDING
55 , self::SORT_DESCENDING
82 $this->counters =
array();
83 $this->highlighted =
false;
114 return array_values($this->counters);
122 $clone = clone $this;
140 $clone = clone $this;
141 $clone->highlighted =
true;
This tags a counter object.
__construct($type, $aria_label, $action=null)
checkArgIsElement($which, $value, $array, $name)
Throw an InvalidArgumentException if $value is not an element of array.
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
trait ComponentHelper
Provides common functionality for component implementations.
checkStringArg($which, $value)
Throw an InvalidArgumentException if $value is no string.
getType()
Get the type of the counter.
addTriggeredSignal(Component\Signal $signal, $event)
Add a triggered signal, replacing any other signals registered on the same event. ...
appendOnClick(Signal $signal)
appendTriggeredSignal(Component\Signal $signal, $event)
Append a triggered signal to other signals of the same event.
Create styles array
The data for the language used.
withCounter(Counter $counter)
withOnClick(Signal $signal)