ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilICalProperty Class Reference

Represents a ical property. More...

+ Inheritance diagram for ilICalProperty:
+ Collaboration diagram for ilICalProperty:

Public Member Functions

 __construct (string $a_name, string $a_value='')
 
 getItemsByName (string $a_name, bool $a_recursive=true)
 
- Public Member Functions inherited from ilICalItem
 __construct (string $a_name, string $a_value='')
 
 setValue (string $a_value)
 
 getValue ()
 
 getItems ()
 
 getName ()
 
 getItemsByName (string $a_name, bool $a_recursive=true)
 
 addItem (ilICalItem $a_item)
 

Additional Inherited Members

- Protected Attributes inherited from ilICalItem
string $name = ''
 
string $value = ''
 
array $items = []
 

Detailed Description

Represents a ical property.

E.g DTSTART;VALUE=DATE;TZID=Europe/Berlin:20080214

Author
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
Version
$Id$

Definition at line 33 of file class.ilICalProperty.php.

Constructor & Destructor Documentation

◆ __construct()

ilICalProperty::__construct ( string  $a_name,
string  $a_value = '' 
)

Definition at line 38 of file class.ilICalProperty.php.

References ILIAS\GlobalScreen\Provider\__construct().

39  {
40  parent::__construct($a_name, $a_value);
41  }
__construct(Container $dic, ilPlugin $plugin)
+ Here is the call graph for this function:

Member Function Documentation

◆ getItemsByName()

ilICalProperty::getItemsByName ( string  $a_name,
bool  $a_recursive = true 
)

Definition at line 46 of file class.ilICalProperty.php.

References ilICalItem\getItems().

46  : array
47  {
48  $found = [];
49  foreach ($this->getItems() as $item) {
50  if ($item->getName() == $a_name) {
51  $found[] = $item;
52  }
53  }
54  return $found;
55  }
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: