ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Counter.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24
28interface Counter extends Component
29{
30 // Types of counters:
31 public const NOVELTY = "novelty";
32 public const STATUS = "status";
33
39 public function getType(): string;
40
44 public function getNumber(): int;
45}
A component is the most general form of an entity in the UI.
Definition: Component.php:28
This tags a counter object.
Definition: Counter.php:29
getType()
Get the type of the counter.
getNumber()
Get the number on the counter.