/** * @access public * @return string Retourne le jour au format texte */ public function getStringDay($sFormat = 'DD') { if ($this->iMonth == null) { return null; } _root::loadLangueDate(); $tLangueDate = _root::getConfigVar('tLangueDate'); if ($sFormat == 'DD') { return $tLangueDate['tJourLong'][(int) $this->getWeekDay('D')]; } else { if ($sFormat == 'D') { return $tLangueDate['tJourCourt'][(int) $this->getWeekDay('D')]; } else { throw new Exception('Wrong format for plugin_date::getStringDay()'); } } }