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

The Ulaform:: class providing some support functions to the Ulaform module.

Copyright 2001-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.

Package: Ulaform
Author: Marko Djukic marko@oblo.com
Author: Brent J. Nordquist bjn@horde.org
Since: Ulaform 0.1
Located at Ulaform.php
Methods summary
public static
# getActionInfo( mixed $action )
public static
# getActionParams( mixed $action )
public static array
# getFieldTypes( )

Fetch the available field types from the Horde_Form classes.

Fetch the available field types from the Horde_Form classes.

Returns

array
The available field types.
public static array
# getFieldTypesArray( )

Fetch the full array for the field types, with params.

Fetch the full array for the field types, with params.

Returns

array
The full field types array.
public static
# getFieldParams( mixed $field_type )
public static
# getStringlistArray( mixed $string )
public static mixed
# checkPermissions( mixed $in, string $filter, string $permission = Horde_Perms::READ, string $key = null )

This function does the permission checking when using Ulaform.

This function does the permission checking when using Ulaform.

Parameters

$in
<p>A form_id or an array of form_id's to check permission on.</p>
$filter
What type of check to do.
$permission
What type of permission to check for.
$key
The array key to use for checking.

Returns

mixed

Depending on the type of check, either return a boolean to indicate permission for that form, or a filtered out array of form_id's.

API documentation generated by ApiGen