/** * Returns the Max year to display from Config * * @static * @access public * @return string integer with the max year to show in the calendar */ public static function getMinYear() { $params = JComponentHelper::getParams(JEV_COM_COMPONENT); $minyear = $params->get("com_earliestyear", 1970); $minyear = JEVHelper::getYearNumber($minyear); //Just in case we got text here. if (!is_numeric($minyear)) { $minyear = "1970"; } return $minyear; }