14 class Glyph implements C\Symbol\Glyph\Glyph
50 private static $types = array(self::SETTINGS
59 , self::SORT_ASCENDING
60 , self::SORT_DESCENDING
108 $this->counters = array();
109 $this->highlighted =
false;
140 return array_values($this->counters);
148 $clone = clone $this;
149 $clone->counters[$counter->
getType()] = $counter;
166 $clone = clone $this;
167 $clone->highlighted =
true;
184 $clone = clone $this;
185 $clone->active =
false;
211 $clone = clone $this;
This tags a counter object.
checkArgIsElement($which, $value, $array, $name)
Throw an InvalidArgumentException if $value is not an element of array.
withOnClick(Signal $signal)
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.
__construct($type, $aria_label, $action=null)
getType()
Get the type of the counter.
appendOnClick(Signal $signal)
appendTriggeredSignal(Component\Signal $signal, $event)
Append a triggered signal to other signals of the same event.
withCounter(Counter $counter)
withTriggeredSignal(Component\Signal $signal, $event)
Add a triggered signal, replacing any other signals registered on the same event. ...