PHP Class Ulaform_Driver, horde

Copyright 2003-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: Marko Djukic ([email protected])
Author: Brent J. Nordquist ([email protected])
Mostrar archivo Open project: horde/horde Class Usage Examples

Protected Properties

Property Type Description
$_driver
$_params array A hash containing any parameters for the current driver.

Public Methods

Method Description
__construct ( array $params ) Constructor
getField ( $form_id, $field_id )
getFieldsArray ( $form_id ) : array Get a list of fields that belong to a forms as a simple array.
getFieldsList ( $form_id ) : array Get a list of fields that belong to a forms.
getFormsList ( ) : array Get a list of forms.
hasPermission ( $perm = Horde_Perms::SHOW, $form_id = null )
submitForm ( $form_data )

Method Details

__construct() public method

Constructor
public __construct ( array $params )
$params array Any parameters needed for this driver.

getField() public method

public getField ( $form_id, $field_id )

getFieldsArray() public method

Get a list of fields that belong to a forms as a simple array.
public getFieldsArray ( $form_id ) : array
return array Array of the available fields for a specific form.

getFieldsList() public method

Get a list of fields that belong to a forms.
public getFieldsList ( $form_id ) : array
return array Array of the available fields for a specific form.

getFormsList() public method

Get a list of forms.
public getFormsList ( ) : array
return array Array of the available forms.

hasPermission() public method

public hasPermission ( $perm = Horde_Perms::SHOW, $form_id = null )

submitForm() public method

public submitForm ( $form_data )

Property Details

$_driver protected_oe property

protected $_driver

$_params protected_oe property

A hash containing any parameters for the current driver.
protected array $_params
return array