ILIAS  Release_3_10_x_branch Revision 61812
 All Data Structures Namespaces Files Functions Variables Groups Pages
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.
 getItemsByName ($a_name, $a_recursive=true)
 get items by name
- Public Member Functions inherited from ilICalItem
 setValue ($a_value)
 set value
 getValue ()
 get value
 getItems ()
 get items
 getName ()
 get name
 addItem ($a_item)
 Add item.

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 smeye.nosp@m.r@da.nosp@m.tabay.nosp@m..de
Version
$Id$

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

Constructor & Destructor Documentation

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

Constructor.

public

Parameters
stringname

Reimplemented from ilICalItem.

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

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

Member Function Documentation

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

get items by name

public

Parameters
stringname

Reimplemented from ilICalItem.

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

References ilICalItem\getItems().

{
foreach($this->getItems() as $item)
{
if($item->getName() == $a_name)
{
$found[] = $item;
}
}
return $found ? $found : array();
}

+ Here is the call graph for this function:


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