getActionInfo()
getActionInfo( $action)
Parameters
$action |
The Ulaform:: class providing some support functions to the Ulaform module.
Copyright 2001-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.
checkPermissions(mixed $in, string $filter, string $permission = \Horde_Perms::READ, string $key = null) : mixed
This function does the permission checking when using Ulaform.
mixed | $in | A form_id or an array of form_id's to check permission on. |
string | $filter | What type of check to do. |
string | $permission | What type of permission to check for. |
string | $key | The array key to use for checking. |
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.