PHP Class Ingo_Basic_Base, horde

Author: Michael Slusarz ([email protected])
Afficher le fichier Open project: horde/horde

Méthodes publiques

Свойство Type Description
$output string
$title string
$vars Horde_Variables

Méthodes publiques

Méthode Description
__construct ( Horde_Variables $vars )
render ( )
status ( )
url ( array $opts = [] )
validateMbox ( string $name ) : string Validates an IMAP mailbox provided by user input.

Méthodes protégées

Méthode Description
_addToken ( Horde_Url $url ) : Horde_Url Add the ingo action token to a URL.
_assertCategory ( integer $type, string $label ) Assert category.
_checkToken ( array $actions ) : string Check token.
_init ( )

Method Details

__construct() public méthode

public __construct ( Horde_Variables $vars )
$vars Horde_Variables

_addToken() protected méthode

Add the ingo action token to a URL.
protected _addToken ( Horde_Url $url ) : Horde_Url
$url Horde_Url URL.
Résultat Horde_Url URL with token added (for chainable calls).

_assertCategory() protected méthode

Assert category.
protected _assertCategory ( integer $type, string $label )
$type integer Category type.
$label string Category label.

_checkToken() protected méthode

Check token.
protected _checkToken ( array $actions ) : string
$actions array The list of actions that require token checking.
Résultat string The verified action ID.

_init() abstract protected méthode

abstract protected _init ( )

render() public méthode

public render ( )

status() public méthode

public status ( )

url() public static méthode

public static url ( array $opts = [] )
$opts array

validateMbox() public méthode

Validates an IMAP mailbox provided by user input.
public validateMbox ( string $name ) : string
$name string The form name of the input.
Résultat string The IMAP mailbox name.

Property Details

$output public_oe property

public string $output
Résultat string

$title public_oe property

public string $title
Résultat string

$vars public_oe property

public Horde_Variables $vars
Résultat Horde_Variables