ILIAS
release_4-3 Revision
|
OpenId provider More...
Public Member Functions | |
getProvider () | |
Get enabled provider. | |
getProviderById ($a_provider_id) | |
Get provider by id. | |
getProviderSelection () | |
get html select options | |
getSelectedProvider () | |
Return the default provider, if there is only one. |
Static Public Member Functions | |
static | getInstance () |
Get singleton instance. |
Protected Member Functions | |
__construct () | |
Singleton constructor. |
Private Member Functions | |
read () | |
Read providers. |
Private Attributes | |
$providers = array() |
Static Private Attributes | |
static | $instance = null |
|
protected |
Singleton constructor.
Definition at line 23 of file class.ilOpenIdProviders.php.
References read().
|
static |
Get singleton instance.
Definition at line 32 of file class.ilOpenIdProviders.php.
References $instance.
Referenced by ilOpenIdProviderTableGUI\parse(), ilAuthOpenId\parseUsername(), and ilStartUpGUI\showOpenIdLoginForm().
ilOpenIdProviders::getProvider | ( | ) |
Get enabled provider.
Definition at line 45 of file class.ilOpenIdProviders.php.
References $providers.
Referenced by getProviderById(), getProviderSelection(), and getSelectedProvider().
ilOpenIdProviders::getProviderById | ( | $a_provider_id | ) |
Get provider by id.
object | $a_provider_id |
UnexpectedValueException |
Definition at line 56 of file class.ilOpenIdProviders.php.
References getProvider().
ilOpenIdProviders::getProviderSelection | ( | ) |
get html select options
Definition at line 72 of file class.ilOpenIdProviders.php.
References $lng, and getProvider().
ilOpenIdProviders::getSelectedProvider | ( | ) |
Return the default provider, if there is only one.
Otherwise return "0" for –select one –
Definition at line 90 of file class.ilOpenIdProviders.php.
References ilOpenIdSettings\getInstance(), and getProvider().
|
private |
Read providers.
Definition at line 109 of file class.ilOpenIdProviders.php.
References $query, $res, $row, and DB_FETCHMODE_ASSOC.
Referenced by __construct().
|
staticprivate |
Definition at line 15 of file class.ilOpenIdProviders.php.
Referenced by getInstance().
|
private |
Definition at line 17 of file class.ilOpenIdProviders.php.
Referenced by getProvider().