Exemple #1
0
 /**
  * set calendar component property completed
  *
  * @author Kjell-Inge Gustafsson, kigkonsult <*****@*****.**>
  * @since 2.4.8 - 2008-10-23
  * @param mixed $year optional
  * @param mixed $month optional
  * @param int $day optional
  * @param int $hour optional
  * @param int $min optional
  * @param int $sec optional
  * @param array $params optional
  * @return boll
  */
 function setLastModified($year = FALSE, $month = FALSE, $day = FALSE, $hour = FALSE, $min = FALSE, $sec = FALSE, $params = FALSE)
 {
     if (empty($year)) {
         $year = date('Ymd\\THis', mktime(date('H'), date('i'), date('s') - date('Z'), date('m'), date('d'), date('Y')));
     }
     $this->lastmodified = iCal_UtilityFunctions::_setDate2($year, $month, $day, $hour, $min, $sec, $params);
     return TRUE;
 }