19 declare(strict_types=1);
31 public function __construct(
string $a_name,
string $a_value =
'')
33 $this->name = $a_name;
34 $this->value = $a_value;
37 public function setValue(
string $a_value): void
39 $this->value = $a_value;
44 return trim($this->value);
57 public function getItemsByName(
string $a_name,
bool $a_recursive =
true): array
64 $this->items[] = $a_item;
setValue(string $a_value)
addItem(ilICalItem $a_item)
getItemsByName(string $a_name, bool $a_recursive=true)
__construct(string $a_name, string $a_value='')
Abstract base class for all ical items (Component, Parameter and Value)