PHP Class 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.
Author: Vilius Šumskas ([email protected])
Inheritance: extends Ulaform_Action
Afficher le fichier Open project: horde/horde

Protected Properties

Свойство Type Description
$_charset string Charset
$_db Horde_Db_Adapter The database connection object.

Méthodes publiques

Méthode Description
__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.

Méthodes protégées

Méthode Description
_createDataTable ( $form_params, $fields ) : boolean Create table for submiting data.

Method Details

__construct() public méthode

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

_createDataTable() protected méthode

Create table for submiting data.
protected _createDataTable ( $form_params, $fields ) : boolean
Résultat boolean True on success.

doAction() public méthode

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

getInfo() public static méthode

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
Résultat array Array of required parameters.

getParams() public static méthode

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
Résultat array Array of required parameters.

Property Details

$_charset protected_oe property

Charset
protected string $_charset
Résultat string

$_db protected_oe property

The database connection object.
protected Horde_Db_Adapter $_db
Résultat Horde_Db_Adapter