PHP Class Horde_LoginTasks_Task_TosAgreement, horde

If user does not accept terms, user is not allowed to login. Copyright 2002-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_LoginTasks_Task
显示文件 Open project: horde/horde

Public Properties

Property Type Description
$display integer The style of the page output.
$interval integer The interval at which to run the task.
$priority integer The priority of the task.

Public Methods

Method Description
__construct ( ) Constructor.
describe ( ) : string Returns the TOS agreement for display on the login tasks page.
execute ( ) Determine if user agreed with the terms or not. If the user does not agree, log him/her out immediately.

Method Details

__construct() public method

Constructor.
public __construct ( )

describe() public method

Returns the TOS agreement for display on the login tasks page.
public describe ( ) : string
return string The terms of service agreement.

execute() public method

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

Property Details

$display public_oe property

The style of the page output.
public int $display
return integer

$interval public_oe property

The interval at which to run the task.
public int $interval
return integer

$priority public_oe property

The priority of the task.
public int $priority
return integer