Beispiel #1
0
 /**
  * set calendar component property tzname
  *
  * @author Kjell-Inge Gustafsson, kigkonsult <*****@*****.**>
  * @since 2.5.1 - 2008-11-05
  * @param string $value
  * @param string $params, optional
  * @param integer $index, optional
  * @return bool
  */
 function setTzname($value, $params = FALSE, $index = FALSE)
 {
     if (empty($value)) {
         if ($this->getConfig('allowEmpty')) {
             $value = null;
         } else {
             return FALSE;
         }
     }
     iCal_UtilityFunctions::_setMval($this->tzname, $value, $params, FALSE, $index);
     return TRUE;
 }