/** * Is OpenID support available? * * This method checks if the {@link OpenIDAuthenticator} is available and * registered. * * @return bool Returns TRUE if OpenID is available, FALSE otherwise. */ function OpenIDAvailable() { if (class_exists('Authenticator') == false) { return false; } return Authenticator::is_registered("OpenIDAuthenticator"); }