PHP Class Ingo_Transport_Timsieved, horde

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

Protected Properties

Property Type Description
$_sieve Horde\ManageSieve The ManageSieve object.
$_supportShares

Public Methods

Method 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.

Protected Methods

Method Description
_connect ( ) Connects to the sieve server.

Method Details

__construct() public method

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

_connect() protected method

Connects to the sieve server.
protected _connect ( )

getScript() public method

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

setScriptActive() public method

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
return Horde\ManageSieve

$_supportShares protected_oe property

protected $_supportShares