19 declare(strict_types=1);
    30 class Glyph implements C\Symbol\Glyph\Glyph
    39         self::COLLAPSE_HORIZONTAL,
    48         self::SORT_DESCENDING,
    97     public function __construct(
string $type, 
string $label, 
string $action = null)
    99         $this->checkArgIsElement(
"type", $type, self::$types, 
"glyph type");
   104         $this->counters = array();
   105         $this->highlighted = 
false;
   137         return array_values($this->counters);
   145         $clone = clone $this;
   146         $clone->counters[$counter->
getType()] = $counter;
   163         $clone = clone $this;
   164         $clone->highlighted = 
true;
   181         $clone = clone $this;
   182         $clone->active = 
false;
   207         $clone = clone $this;
   217         $has_action = ($this->action !== null && $this->action !== 
"");
   218         $has_signal = isset($this->triggered_signals[
'click']) && $this->triggered_signals[
'click'] !== null;
   219         return  ($has_signal || $has_action) && $this->
isActive();
 appendTriggeredSignal(C\Signal $signal, string $event)
Append a triggered signal to other signals of the same event. 
 
This tags a counter object. 
 
withTriggeredSignal(C\Signal $signal, string $event)
Add a triggered signal, replacing any other signals registered on the same event. ...
 
withOnClick(Signal $signal)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation. 
 
__construct(string $type, string $label, string $action=null)
 
getType()
Get the type of the counter. 
 
appendOnClick(Signal $signal)
 
withCounter(Counter $counter)