You are here

class ParserIcalDateModuleComponent in iCal feed parser 7.2

A wrapper on iCalcreator component class.

Hierarchy

Expanded class hierarchy of ParserIcalDateModuleComponent

File

includes/ParserIcalDate.inc, line 139
Classes for using date_api ical parsing.

View source
class ParserIcalDateModuleComponent implements ParserIcalComponentInterface {
  protected $component;
  protected $type;
  public function __construct($type, $component) {
    $this->type = strtoupper($type);
    $this->component = $component;
  }
  public function getComponentType() {
    return $this->type;
  }
  public function setComponentType($type) {
    $this->type = strtoupper($type);
  }
  public function getProperty($name) {
    $name = strtoupper($name);
    return isset($this->component[$name]) ? $this->component[$name] : NULL;
  }
  public function setProperty($name, $value) {
    $name = strtoupper($name);
    $this->component[$name] = $value;
  }

}

Members