ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
Bulky.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /* Copyright (c) 2019 Nils Haagen <nils.haagen@concepts-and-training.de> Extended GPL, see docs/LICENSE */
6 
8 
9 use ILIAS\UI\Component as C;
11 
12 class Bulky extends Link implements C\Link\Bulky
13 {
15 
19  protected $label;
20 
24  protected $symbol;
25 
26  public function __construct(C\Symbol\Symbol $symbol, string $label, \ILIAS\Data\URI $target)
27  {
28  $action = $target->getBaseURI();
29  if ($target->getQuery()) {
30  $action .= '?' . $target->getQuery();
31  }
33  $this->label = $label;
34  $this->symbol = $symbol;
35  }
36 
40  public function getLabel() : string
41  {
42  return $this->label;
43  }
44 
48  public function getSymbol() : C\Symbol\Symbol
49  {
50  return $this->symbol;
51  }
52 }
This describes a symbol.
Definition: Symbol.php:11
Class ChatMainBarProvider .
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
__construct(Container $dic, ilPlugin $plugin)