PHP Class Ingo_Transport_Timsieved, horde

Author: Mike Cochrane ([email protected])
Author: Jan Schneider ([email protected])
Inheritance: extends Ingo_Transport_Base
Afficher le fichier Open project: horde/horde Class Usage Examples

Protected Properties

Свойство Type Description
$_sieve Horde\ManageSieve The ManageSieve object.
$_supportShares

Méthodes publiques

Méthode Description
__construct ( array $params = [] ) Constructor.
getScript ( ) : string Returns the content of the currently active script.
setScriptActive ( array $script ) Sets a script running on the backend.

Méthodes protégées

Méthode Description
_connect ( ) Connects to the sieve server.

Method Details

__construct() public méthode

Constructor.
public __construct ( array $params = [] )
$params array

_connect() protected méthode

Connects to the sieve server.
protected _connect ( )

getScript() public méthode

Returns the content of the currently active script.
public getScript ( ) : string
Résultat string The complete ruleset of the specified user.

setScriptActive() public méthode

Sets a script running on the backend.
public setScriptActive ( array $script )
$script array The filter script information. Passed elements: - 'name': (string) the script name. - 'recipes': (array) the filter recipe objects. - 'script': (string) the filter script.

Property Details

$_sieve protected_oe property

The ManageSieve object.
protected ManageSieve,Horde $_sieve
Résultat Horde\ManageSieve

$_supportShares protected_oe property

protected $_supportShares