PHP Class Ingo_Transport_Base, horde

Author: Mike Cochrane ([email protected])
Author: Jan Schneider ([email protected])
Datei anzeigen Open project: horde/horde Class Usage Examples

Protected Properties

Property Type Description
$_params array Congifuration parameters.
$_supportShares boolean Whether this driver allows managing other users' rules.

Public Methods

Method Description
__construct ( array $params = [] ) Constructor.
quote ( string $string ) : string Quotes user input if supported by the transport driver.
setScriptActive ( array $script ) Sets a script running on the backend.
supportShares ( ) : boolean Returns whether the driver supports managing other users' rules.

Method Details

__construct() public method

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

quote() public method

Quotes user input if supported by the transport driver.
public quote ( string $string ) : string
$string string A string to quote.
return string The quoted string.

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.

supportShares() public method

Returns whether the driver supports managing other users' rules.
public supportShares ( ) : boolean
return boolean True if the driver supports shares.

Property Details

$_params protected_oe property

Congifuration parameters.
protected array $_params
return array

$_supportShares protected_oe property

Whether this driver allows managing other users' rules.
protected bool $_supportShares
return boolean