, Nicolas Rod for the University of Geneva */ class ShibbolethEmailForm { /** * * @return ShibbolethEmailForm */ public static function instance() { static $result = false; if (empty($result)) { $result = new self(); } return $result; } function display() { $email = get_lang('Email'); $submit = get_lang('Submit'); return <<
EOT; } function get_email() { return isset($_POST['email']) ? $_POST['email'] : ''; } }