ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator 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 27 of file class.ilICalProperty.php.

Constructor & Destructor Documentation

◆ __construct()

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

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

References ILIAS\GlobalScreen\Provider\__construct().

33  {
34  parent::__construct($a_name, $a_value);
35  }
__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 40 of file class.ilICalProperty.php.

References ilICalItem\getItems().

40  : array
41  {
42  $found = [];
43  foreach ($this->getItems() as $item) {
44  if ($item->getName() == $a_name) {
45  $found[] = $item;
46  }
47  }
48  return $found;
49  }
+ Here is the call graph for this function:

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