PHP Class Wicked_Page_EditPage, horde

Author: Jan Schneider ([email protected])
Author: Jason M. Felice ([email protected])
Inheritance: extends Wicked_Page
Show file Open project: horde/horde

Public Properties

Property Type Description
$supportedModes array Display modes supported by this page.

Protected Properties

Property Type Description
$_referrer string The page that we're editing.

Public Methods

Method Description
__construct ( $referrer )
allows ( integer $mode ) : boolean Returns if the page allows a mode. Access rights and user state are taken into consideration.
display ( ) Renders this page in display mode.
getLockRequestor ( )
getLockTime ( )
getPermissions ( ) : integer Retrieve this user's permissions for the referring page.
handleAction ( )
isLocked ( )
pageName ( )
pageTitle ( )
preDisplay ( ) Send them back whence they came if they aren't allowed to edit this page.
referrer ( )

Method Details

__construct() public method

public __construct ( $referrer )

allows() public method

Returns if the page allows a mode. Access rights and user state are taken into consideration.
public allows ( integer $mode ) : boolean
$mode integer The mode to check for.
return boolean True if the mode is allowed.

display() public method

Renders this page in display mode.
public display ( )

getLockRequestor() public method

public getLockRequestor ( )

getLockTime() public method

public getLockTime ( )

getPermissions() public method

Retrieve this user's permissions for the referring page.
public getPermissions ( ) : integer
return integer The permissions bitmask.

handleAction() public method

public handleAction ( )

isLocked() public method

public isLocked ( )

pageName() public method

public pageName ( )

pageTitle() public method

public pageTitle ( )

preDisplay() public method

Send them back whence they came if they aren't allowed to edit this page.
public preDisplay ( )

referrer() public method

public referrer ( )

Property Details

$_referrer protected property

The page that we're editing.
protected string $_referrer
return string

$supportedModes public property

Display modes supported by this page.
public array $supportedModes
return array