UserUpdateFilter.execute ( Requestable requestInstance,
Responseable responseInstance 
)

Executes the filter with given request and response objects.

Parameters:
$requestInstance An instance of a class with an Requestable interface
$responseInstance An instance of a class with an Responseable interface
Returns:
void
Todo:
Add more user updates here

Implements Filterable.

Definition at line 57 of file class_UserUpdateFilter.php.

References BaseFrameworkSystem.$userInstance, and Registry.getRegistry().

00057                                                                                                {
00058                 // Get user instance from registry
00059                 $userInstance = Registry::getRegistry()->getInstance('user');
00060 
00061                 // Now update last activity
00062                 $userInstance->updateLastActivity($requestInstance);
00063 
00064                 // Update auth data as well
00065                 $authInstance = Registry::getRegistry()->getInstance('auth');
00066                 $authInstance->updateAuthData();
00067 
00068                 // Write all updates to the database
00069                 $userInstance->flushPendingUpdates();
00070         }

Here is the call graph for this function:


Generated on Mon Dec 8 01:21:16 2008 for Ship-Simulator by  doxygen 1.5.6