PHP Class Ingo_Transport_Sql, horde

Author: Jan Schneider ([email protected])
Inheritance: extends Ingo_Transport_Base
Mostra file Open project: horde/horde

Protected Properties

Property Type Description
$_db Horde_Db_Adapter Database handle.

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.

Protected Methods

Method Description
_connect ( ) Connect to the SQL server.

Method Details

__construct() public method

Constructor.
public __construct ( array $params = [] )
$params array A hash containing driver parameters.

_connect() protected method

Connect to the SQL server.
protected _connect ( )

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.

Property Details

$_db protected_oe property

Database handle.
protected Horde_Db_Adapter $_db
return Horde_Db_Adapter