PHP 클래스 Ingo_Transport_Sql, horde

저자: Jan Schneider ([email protected])
상속: extends Ingo_Transport_Base
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_db Horde_Db_Adapter Database handle.

공개 메소드들

메소드 설명
__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.

보호된 메소드들

메소드 설명
_connect ( ) Connect to the SQL server.

메소드 상세

__construct() 공개 메소드

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

_connect() 보호된 메소드

Connect to the SQL server.
protected _connect ( )

quote() 공개 메소드

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

setScriptActive() 공개 메소드

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.

프로퍼티 상세

$_db 보호되어 있는 프로퍼티

Database handle.
protected Horde_Db_Adapter $_db
리턴 Horde_Db_Adapter