Omeka_Application_Resource_Currentuser

Package: Application\Resource

class Omeka_Application_Resource_Currentuser

extends Zend_Application_Resource_ResourceAbstract

Retrive the User record corresponding to the authenticated user.

If the user record is not retrievable (invalid ID), then the authentication ID will be cleared.

Omeka_Application_Resource_Currentuser::init()

Retrieve the User record associated with the authenticated user.

Returns:

User|null