3 declare(strict_types=1);
50 public function getItemsByName(
string $a_name,
bool $a_recursive =
true): array
53 foreach ($this->
getItems() as $item) {
54 if ($item->getName() == $a_name) {
58 foreach ($item->getItemsByName($a_name) as $hit) {
getItemsByName(string $a_name, bool $a_recursive=true)
get items by name public
__construct($a_name)
Constructor public.
Represents a ical component.
__construct(Container $dic, ilPlugin $plugin)
Abstract base class for all ical items (Component, Parameter and Value)