PHP 클래스 Ulaform_Action_Sql, horde

Copyright 2004-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
저자: Vilius Šumskas ([email protected])
상속: extends Ulaform_Action
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_charset string Charset
$_db Horde_Db_Adapter The database connection object.

공개 메소드들

메소드 설명
__construct ( array $params = [] ) Construct a new SQL storage object.
doAction ( $form_params, $form_data, $fields ) : boolean Actually carry out the action.
getInfo ( ) : array Identifies this action driver and returns a brief description, used by admin when configuring an action for a form and set up using Horde_Form.
getParams ( ) : array Returns the required parameters for this action driver, used by admin when configuring an action for a form and set up using Horde_Form.

보호된 메소드들

메소드 설명
_createDataTable ( $form_params, $fields ) : boolean Create table for submiting data.

메소드 상세

__construct() 공개 메소드

Construct a new SQL storage object.
public __construct ( array $params = [] )
$params array The connection parameters

_createDataTable() 보호된 메소드

Create table for submiting data.
protected _createDataTable ( $form_params, $fields ) : boolean
리턴 boolean True on success.

doAction() 공개 메소드

Actually carry out the action.
public doAction ( $form_params, $form_data, $fields ) : boolean
리턴 boolean True on success.

getInfo() 공개 정적인 메소드

Identifies this action driver and returns a brief description, used by admin when configuring an action for a form and set up using Horde_Form.
public static getInfo ( ) : array
리턴 array Array of required parameters.

getParams() 공개 정적인 메소드

Returns the required parameters for this action driver, used by admin when configuring an action for a form and set up using Horde_Form.
public static getParams ( ) : array
리턴 array Array of required parameters.

프로퍼티 상세

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

Charset
protected string $_charset
리턴 string

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

The database connection object.
protected Horde_Db_Adapter $_db
리턴 Horde_Db_Adapter