public function DateIcalIcalcreatorComponent::setProperty in Date iCal 7.2
Overrides DateIcalComponentInterface::setProperty
File
- includes/
DateIcalIcalcreatorParser.inc, line 400 - Classes implementing Date iCal's iCalcreator-based parser functionality.
Class
- DateIcalIcalcreatorComponent
- A wrapper on iCalcreator component class.
Code
public function setProperty($name, $args) {
if (!is_array($args)) {
$args = array(
$args,
);
}
// Call the setProperty() method on $this->component with the arguments: $name + $args.
call_user_func_array(array(
$this->component,
"setProperty",
), array(
$name,
) + $args);
}