/** * Indicates wether the birthday date has to be entered. * * @return boolean * * @author Sascha Koehler <*****@*****.**> * @since 12.10.2011 */ public function demandBirthdayDate() { return SilvercartConfig::demandBirthdayDateOnRegistration(); }
/** * Indicates wether the birthday date should be demanded on registration. * * @return boolean * * @author Sascha Koehler <*****@*****.**> * @since 12.10.2011 */ public static function DemandBirthdayDateOnRegistration() { if (is_null(self::$demandBirthdayDateOnRegistration)) { self::$demandBirthdayDateOnRegistration = self::getConfig()->demandBirthdayDateOnRegistration; } return self::$demandBirthdayDateOnRegistration; }