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
Datei anzeigen Open project: horde/horde

Protected Properties

Property Type Description
$_charset string Charset
$_db Horde_Db_Adapter The database connection object.

Public Methods

Method 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.

Protected Methods

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

Method Details

__construct() public method

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

_createDataTable() protected method

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

doAction() public method

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

getInfo() public static method

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
return array Array of required parameters.

getParams() public static method

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
return array Array of required parameters.

Property Details

$_charset protected_oe property

Charset
protected string $_charset
return string

$_db protected_oe property

The database connection object.
protected Horde_Db_Adapter $_db
return Horde_Db_Adapter