ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Month.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 2017 Alex Killing <killing@leifos.de> Extended GPL, see docs/LICENSE */
4 
6 
7 use ILIAS\UI\Component as C;
10 
11 class Month implements C\Button\Month
12 {
13  use ComponentHelper;
15 
19  protected $default;
20 
24  public function __construct($default)
25  {
26  $this->default = $default;
27  }
28 
32  public function getDefault()
33  {
34  return $this->default;
35  }
36 }
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
trait ComponentHelper
Provides common functionality for component implementations.