$_perms
$_perms : \Horde_Perms_Base
The Horde_Perms object we're displaying UI stuff for.
The Horde_Core_Perms_Ui class provides UI methods for the Horde permissions system.
Copyright 2001-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
$_corePerms : \Horde_Core_Perms
The Horde_Core_Perms object we're displaying UI stuff for.
setupAddForm(\Horde_Perms_Permission $permission, string $force_choice = null)
Create a form to add a permission.
\Horde_Perms_Permission | $permission | Permission |
string | $force_choice | If the permission to be added can be one of many, setting this will force the choice to one particular. |
validateDeleteForm(\TODO $info) : mixed
Function to validate any delete form input.
\TODO | $info | TODO |
If the delete button confirmation has been pressed return true, if any other submit button has been pressed return false. If form did not validate return null.