\Horde_LoginTasks_Task_TosAgreement

Login tasks module that presents a TOS Agreement page to user.

If user does not accept terms, user is not allowed to login.

Copyright 2002-2017 Horde LLC (http://www.horde.org/)

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

Summary

Methods
Properties
Constants
__construct()
execute()
describe()
$interval
$display
$priority
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$interval

$interval : integer

The interval at which to run the task.

Type

integer

$display

$display : integer

The style of the page output.

Type

integer

$priority

$priority : integer

The priority of the task.

Type

integer

Methods

__construct()

__construct() 

Constructor.

execute()

execute() 

Determine if user agreed with the terms or not. If the user does not agree, log him/her out immediately.

Throws

\Horde_Exception_AuthenticationFailure

describe()

describe() : string

Returns the TOS agreement for display on the login tasks page.

Returns

string —

The terms of service agreement.