Method | Description | |
---|---|---|
checkPermissions ( mixed $in, string $filter, string $permission = Horde_Perms::READ, string $key = null ) : mixed | This function does the permission checking when using Ulaform. | |
getActionInfo ( $action ) | ||
getActionParams ( $action ) | ||
getFieldParams ( $field_type ) | ||
getFieldTypes ( ) : array | Fetch the available field types from the Horde_Form classes. | |
getFieldTypesArray ( ) : array | Fetch the full array for the field types, with params. | |
getStringlistArray ( $string ) |
public static checkPermissions ( mixed $in, string $filter, string $permission = Horde_Perms::READ, string $key = null ) : mixed | ||
$in | mixed | A form_id or an array of form_id's to check permission on. |
$filter | string | What type of check to do. |
$permission | string | What type of permission to check for. |
$key | string | The array key to use for checking. |
return | 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. |
public static getFieldTypes ( ) : array | ||
return | array | The available field types. |
public static getFieldTypesArray ( ) : array | ||
return | array | The full field types array. |