ILIAS  release_8 Revision v8.24
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='')
 @inheritDoc More...
 
 getItemsByName (string $a_name, bool $a_recursive=true)
 @inheritDoc More...
 
- 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 = '' 
)

@inheritDoc

Reimplemented from ilICalItem.

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

39 {
40 parent::__construct($a_name, $a_value);
41 }
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc

References ILIAS\GlobalScreen\Provider\__construct().

+ Here is the call graph for this function:

Member Function Documentation

◆ getItemsByName()

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

@inheritDoc

Reimplemented from ilICalItem.

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

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 }

References ilICalItem\getItems().

+ Here is the call graph for this function:

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