ILIAS
release_4-3 Revision
|
OpenId provider More...
Public Member Functions | |
__construct ($a_provider_id=0) | |
Constructor. | |
setId ($a_id) | |
Set id. | |
getId () | |
Get id. | |
enable ($a_status) | |
Set en/disabled. | |
isEnabled () | |
Check if provider is en/disabled. | |
setName ($a_name) | |
Set name. | |
getName () | |
Get name. | |
setURL ($a_url) | |
Set URL. | |
getURL () | |
Get URL. | |
delete () | |
Delete provider. | |
add () | |
Add openid provider. | |
update () | |
Update provider. |
Protected Member Functions | |
read () | |
Read provider data. |
Private Attributes | |
$provider_id = 0 | |
$name = '' | |
$url = 'http://' | |
$enabled = true | |
$image = 0 |
ilOpenIdProvider::__construct | ( | $a_provider_id = 0 | ) |
ilOpenIdProvider::add | ( | ) |
Add openid provider.
Definition at line 125 of file class.ilOpenIdProvider.php.
References $query, getId(), getName(), getURL(), isEnabled(), and setId().
ilOpenIdProvider::delete | ( | ) |
ilOpenIdProvider::enable | ( | $a_status | ) |
Set en/disabled.
bool | $a_status |
Definition at line 55 of file class.ilOpenIdProvider.php.
Referenced by read().
ilOpenIdProvider::getId | ( | ) |
Get id.
Definition at line 45 of file class.ilOpenIdProvider.php.
References $provider_id.
Referenced by add(), delete(), read(), and update().
ilOpenIdProvider::getName | ( | ) |
Get name.
Definition at line 83 of file class.ilOpenIdProvider.php.
References $name.
Referenced by add(), and update().
ilOpenIdProvider::getURL | ( | ) |
Get URL.
Definition at line 102 of file class.ilOpenIdProvider.php.
References $url.
Referenced by add(), and update().
ilOpenIdProvider::isEnabled | ( | ) |
Check if provider is en/disabled.
Definition at line 64 of file class.ilOpenIdProvider.php.
References $enabled.
Referenced by add(), and update().
|
protected |
Read provider data.
Definition at line 164 of file class.ilOpenIdProvider.php.
References $query, $res, $row, DB_FETCHMODE_ASSOC, enable(), getId(), setName(), and setURL().
Referenced by __construct().
ilOpenIdProvider::setId | ( | $a_id | ) |
Set id.
int | $a_id |
Definition at line 36 of file class.ilOpenIdProvider.php.
Referenced by __construct(), and add().
ilOpenIdProvider::setName | ( | $a_name | ) |
Set name.
string | $a_name |
Definition at line 74 of file class.ilOpenIdProvider.php.
Referenced by read().
ilOpenIdProvider::setURL | ( | $a_url | ) |
Set URL.
string | $a_url |
Definition at line 93 of file class.ilOpenIdProvider.php.
Referenced by read().
ilOpenIdProvider::update | ( | ) |
Update provider.
Definition at line 146 of file class.ilOpenIdProvider.php.
References $query, getId(), getName(), getURL(), and isEnabled().
|
private |
Definition at line 16 of file class.ilOpenIdProvider.php.
Referenced by isEnabled().
|
private |
Definition at line 17 of file class.ilOpenIdProvider.php.
|
private |
Definition at line 14 of file class.ilOpenIdProvider.php.
Referenced by getName().
|
private |
Definition at line 13 of file class.ilOpenIdProvider.php.
Referenced by getId().
|
private |
Definition at line 15 of file class.ilOpenIdProvider.php.
Referenced by getURL().