/** (bool) Determine if the weekend is shown */
protected $bShowWeekend;
/** (bool) Determine if the strings "1. lesson", "2. lesson" etc are shown */
- // FIXME needed?
protected $bShowLessons;
/** (array of strings) error messages */
protected $asMessages;
$aot = $this->getTimeslices();
$aRet = array();
foreach($aot as $ao) {
- $aRet[] = $bFormat ? _date("%#I:%M %p", $ao->getBegin()) :
+ $aRet[] = $bFormat ? gmstrftime(_("%#I:%M %p"), $ao->getBegin()) :
$ao->getBegin();
}
return $aRet;
$aot = $this->getTimeslices();
$aRet = array();
foreach($aot as $ao) {
- $aRet[] = $bFormat ? _date("%#I:%M %p", $ao->getEnd()) : $ao->getEnd();
+ $aRet[] = $bFormat ? gmstrftime(_("%#I:%M %p"), $ao->getEnd()) :
+ $ao->getEnd();
}
return $aRet;
}
/**
* Determine if the lesson strings in the booking table are shown
* @return bool
- * FIXME needed?
*/
public function isShowLessons() { return ($this->bShowLessons == true); }