ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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 27 of file class.ilICalProperty.php.

Constructor & Destructor Documentation

◆ __construct()

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

@inheritDoc

Reimplemented from ilICalItem.

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

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

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 }

References ilICalItem\getItems().

+ Here is the call graph for this function:

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