ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilICalProperty Class Reference

Represents a ical property. More...

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

Public Member Functions

 __construct ($a_name, $a_value='')
 Constructor. More...
 
 getItemsByName ($a_name, $a_recursive=true)
 get items by name More...
 
- Public Member Functions inherited from ilICalItem
 __construct ($a_name, $a_value='')
 Constructor. More...
 
 setValue ($a_value)
 set value More...
 
 getValue ()
 get value More...
 
 getItems ()
 get items More...
 
 getName ()
 get name More...
 
 getItemsByName ($a_name, $a_recursive=true)
 Get items by name. More...
 
 addItem ($a_item)
 Add item. More...
 

Additional Inherited Members

- Protected Attributes inherited from ilICalItem
 $name = ''
 
 $value = ''
 
 $items = array()
 

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 36 of file class.ilICalProperty.php.

Constructor & Destructor Documentation

◆ __construct()

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

Constructor.

public

Parameters
stringname

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

46  {
47  parent::__construct($a_name,$a_value);
48  }

Member Function Documentation

◆ getItemsByName()

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

get items by name

public

Parameters
stringname

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

References array, and ilICalItem\getItems().

58  {
59  foreach($this->getItems() as $item)
60  {
61  if($item->getName() == $a_name)
62  {
63  $found[] = $item;
64  }
65  }
66  return $found ? $found : array();
67  }
Create styles array
The data for the language used.
getItems()
get items
+ Here is the call graph for this function:

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