ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
Auth_OpenID_ServiceEndpointLoader Class Reference
+ Inheritance diagram for Auth_OpenID_ServiceEndpointLoader:
+ Collaboration diagram for Auth_OpenID_ServiceEndpointLoader:

Public Member Functions

 newObject ($data)
 Returns a new instance of this loader's class, using the session data to construct it if necessary. More...
 
 requiredKeys ()
 
 check ($data)
 Override this. More...
 
- Public Member Functions inherited from Auth_Yadis_SessionLoader
 check ($data)
 Override this. More...
 
 fromSession ($data)
 Given a session data value (an array), this creates an object (returned by $this->newObject()) whose attributes and values are those in $data. More...
 
 prepareForLoad ($data)
 Prepares the data array by making any necessary changes. More...
 
 newObject ($data)
 Returns a new instance of this loader's class, using the session data to construct it if necessary. More...
 
 toSession ($obj)
 Returns an array of keys and values built from the attributes of $obj. More...
 
 prepareForSave ($obj)
 Override this. More...
 

Detailed Description

Definition at line 196 of file Manager.php.

Member Function Documentation

◆ check()

Auth_OpenID_ServiceEndpointLoader::check (   $data)

Override this.

@access private

Reimplemented from Auth_Yadis_SessionLoader.

Definition at line 212 of file Manager.php.

213 {
214 return is_array($data['type_uris']);
215 }
$data

References $data.

◆ newObject()

Auth_OpenID_ServiceEndpointLoader::newObject (   $data)

Returns a new instance of this loader's class, using the session data to construct it if necessary.

The object need only be created; $this->fromSession() will take care of setting the object's attributes.

@access private

Reimplemented from Auth_Yadis_SessionLoader.

Definition at line 197 of file Manager.php.

198 {
199 return new Auth_OpenID_ServiceEndpoint();
200 }
Object representing an OpenID service endpoint.
Definition: Discover.php:63

◆ requiredKeys()

Auth_OpenID_ServiceEndpointLoader::requiredKeys ( )

Definition at line 202 of file Manager.php.

203 {
204 $obj = new Auth_OpenID_ServiceEndpoint();
205 $data = array();
206 foreach ($obj as $k => $v) {
207 $data[] = $k;
208 }
209 return $data;
210 }

References $data.


The documentation for this class was generated from the following file: