Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: Yadis

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5

 Class Auth_OpenID_ServiceEndpointLoader

Description

A session helper class designed to translate between arrays and

objects. Note that the class used must have a constructor that takes no parameters. This is not a general solution, but it works for dumb objects that just need to have attributes set. The idea is that you'll subclass this and override $this->check($data) -> bool to implement your own session data validation.

Located in /openid/Services/Yadis/Manager.php (line 177)

Class Services_Yadis_SessionLoader

Class Auth_OpenID_ServiceEndpointLoader
Method Summary
Method void check ( $data)
Method void newObject ( $data)
Method void requiredKeys ()
Methods
check (line 193)
void check ( $data)
  • $data

Redefinition of:
Services_Yadis_SessionLoader::check()
Override this.
newObject (line 178)
void newObject ( $data)
  • $data

Redefinition of:
Services_Yadis_SessionLoader::newObject()
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.
requiredKeys (line 183)
void requiredKeys ()

Inherited Methods

Inherited From Services_Yadis_SessionLoader

 Services_Yadis_SessionLoader::check()
 Services_Yadis_SessionLoader::fromSession()
 Services_Yadis_SessionLoader::newObject()
 Services_Yadis_SessionLoader::prepareForLoad()
 Services_Yadis_SessionLoader::prepareForSave()
 Services_Yadis_SessionLoader::toSession()

Documentation generated on Mon, 05 Mar 2007 21:10:22 +0000 by phpDocumentor 1.3.1