\Ulaform_Driver

Ulaform_Driver Class

Copyright 2003-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.

Summary

Methods
Properties
Constants
__construct()
getFormsList()
getFieldsList()
getFieldsArray()
getField()
submitForm()
hasPermission()
No public properties found
No constants found
No protected methods found
$_params
$_driver
N/A
No private methods found
No private properties found
N/A

Properties

$_params

$_params : array

A hash containing any parameters for the current driver.

Type

array

$_driver

$_driver : 

Type

Methods

__construct()

__construct(array  $params) 

Constructor

Parameters

array $params

Any parameters needed for this driver.

getFormsList()

getFormsList() : array

Get a list of forms.

Throws

\Ulaform_Exception

Returns

array —

Array of the available forms.

getFieldsList()

getFieldsList(  $form_id) : array

Get a list of fields that belong to a forms.

Parameters

$form_id

Throws

\Horde_Exception_PermissionDenied
\Horde_Exception_NotFound
\Ulaform_Exception

Returns

array —

Array of the available fields for a specific form.

getFieldsArray()

getFieldsArray(  $form_id) : array

Get a list of fields that belong to a forms as a simple array.

Parameters

$form_id

Throws

\Horde_Exception_PermissionDenied
\Horde_Exception_NotFound
\Ulaform_Exception

Returns

array —

Array of the available fields for a specific form.

getField()

getField(  $form_id,   $field_id) 

Parameters

$form_id
$field_id

submitForm()

submitForm(  $form_data) 

Parameters

$form_data

hasPermission()

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

Parameters

$perm
$form_id