/** * Get Latest Leave period start date and month * @param bool $forceReload (if false, will use cached value from previous method call) * value is cached in a static constant. * @return type */ public function getCurrentLeavePeriodStartDateAndMonth($forceReload = false) { if ($forceReload || is_null(self::$currentLeavePeriodStartDateAndMonth)) { self::$currentLeavePeriodStartDateAndMonth = $this->getLeavePeriodDao()->getCurrentLeavePeriodStartDateAndMonth(); } return self::$currentLeavePeriodStartDateAndMonth; }