/** * Form callback: Does the entered Email already exist? * * @param string $value the email address to be checked * * @return array to be rendered in the template * @author Sascha Koehler <*****@*****.**>, Patrick Schneider <*****@*****.**>, Sebastian Diel <*****@*****.**> * @since 12.11.2012 */ public function doesEmailExistAlready($value) { return SilvercartFormValidation::doesEmailExistAlready($value); }
/** * Form callback: Does the entered Email already exist? * * @param string $value the email address to be checked * * @return array to be rendered in the template * * @author Sascha Koehler <*****@*****.**>, Patrick Schneider <*****@*****.**>, Sebastian Diel <*****@*****.**> * @since 05.02.2013 */ public function doesEmailExistAlreadyServerSideOnly($value) { return SilvercartFormValidation::doesEmailExistAlready($value, Member::currentUserID()); }