Overview

Packages

  • Kolab
    • Session

Classes

  • Horde_Kolab_Session_Abstract
  • Horde_Kolab_Session_Base
  • Horde_Kolab_Session_Decorator_Anonymous
  • Horde_Kolab_Session_Decorator_Base
  • Horde_Kolab_Session_Decorator_Logged
  • Horde_Kolab_Session_Decorator_Stored
  • Horde_Kolab_Session_Exception
  • Horde_Kolab_Session_Exception_Badlogin
  • Horde_Kolab_Session_Factory_Imap
  • Horde_Kolab_Session_Imap
  • Horde_Kolab_Session_Storage_Mock
  • Horde_Kolab_Session_Storage_Session
  • Horde_Kolab_Session_Valid_Base
  • Horde_Kolab_Session_Valid_Decorator_Logged

Interfaces

  • Horde_Kolab_Session
  • Horde_Kolab_Session_Storage
  • Horde_Kolab_Session_Valid
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Kolab_Session_Valid_Decorator_Logged

A logger for Horde_Kolab_Session_Valid validators.

Copyright 2009-2012 Horde LLC (http://www.horde.org/)

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Horde_Kolab_Session_Valid_Decorator_Logged implements Horde_Kolab_Session_Valid
Package: Kolab\Session
Category: Kolab
License: LGPL 2.1
Author: Gunnar Wrobel wrobel@pardus.de
Link: http://pear.horde.org/index.php?package=Kolab_Session
Located at Horde/Kolab/Session/Valid/Decorator/Logged.php
Methods summary
public
# __construct( Horde_Kolab_Session_Valid $valid, mixed $logger )

Constructor.

Constructor.

The provided logger class needs to implement the methods info() and err().

Parameters

$valid
The validator.
$logger
The logger instance.
public boolean
# validate( string $user = null )

Reset the current session information in case it does not match the authentication information anymore.

Reset the current session information in case it does not match the authentication information anymore.

Parameters

$user
<p>The user the session information is being requested for. This is usually empty, indicating the current user.</p>

Returns

boolean
True if the session is still valid.

Implementation of

Horde_Kolab_Session_Valid::validate()
public Horde_Kolab_Session
# getSession( )

Return the session this validator checks.

Return the session this validator checks.

Returns

Horde_Kolab_Session

The session checked by this validator.

Implementation of

Horde_Kolab_Session_Valid::getSession()
public mixed
# getAuth( )

Return the auth driver of this validator.

Return the auth driver of this validator.

Returns

mixed
The user ID or false if no user is logged in.

Implementation of

Horde_Kolab_Session_Valid::getAuth()
API documentation generated by ApiGen