Overview

Packages

  • Horde
    • Block
  • None
  • Ulaform

Classes

  • Ulaform
  • Ulaform_Action
  • Ulaform_Action_Mailto
  • Ulaform_Action_Sql
  • Ulaform_Api
  • Ulaform_Driver
  • Ulaform_Driver_Sql
  • Ulaform_Exception
  • Ulaform_Factory_Action
  • Ulaform_Factory_Driver
  • Overview
  • Package
  • Class
  • Tree

Class Ulaform_Driver

Ulaform_Driver Class

Copyright 2003-2012 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.

Direct known subclasses

Ulaform_Driver_Sql
Package: Ulaform
Author: Marko Djukic marko@oblo.com
Author: Brent J. Nordquist bjn@horde.org
Since: Ulaform 0.1
Located at Driver.php
Methods summary
public
# __construct( array $params )

Constructor

Constructor

Parameters

$params
Any parameters needed for this driver.
public array
# getFormsList( )

Get a list of forms.

Get a list of forms.

Returns

array
Array of the available forms.

Throws

Ulaform_Exception
public array
# getFieldsList( mixed $form_id )

Get a list of fields that belong to a forms.

Get a list of fields that belong to a forms.

Returns

array

Array of the available fields for a specific form.

Throws

Horde_Exception_PermissionDenied
Horde_Exception_NotFound
Ulaform_Exception
public array
# getFieldsArray( mixed $form_id )

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

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

Returns

array

Array of the available fields for a specific form.

Throws

Horde_Exception_PermissionDenied
Horde_Exception_NotFound
Ulaform_Exception
public
# getField( mixed $form_id, mixed $field_id )
public
# submitForm( mixed $form_data )
public
# hasPermission( mixed $perm = Horde_Perms::SHOW, mixed $form_id = null )
API documentation generated by ApiGen