| [ Index ] |
|
Code source de Horde 3.1.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 481 lignes (19 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
Perms_UI:: (12 méthodes):
Perms_UI()
renderTree()
setForm()
setVars()
setupAddForm()
validateAddForm()
setupEditForm()
validateEditForm()
setupDeleteForm()
validateDeleteForm()
renderForm()
_formInit()
| Perms_UI(&$perms) X-Ref |
| Constructor. param: Perms $perms The Perms object to display UI stuff for. |
| renderTree($current = DATATREE_ROOT) X-Ref |
| Return a Horde_Tree representation of the permissions tree. return: string The html showing the permissions as a Horde_Tree. |
| setForm(&$form) X-Ref |
| Set an existing form object to use for the edit form. param: Horde_Form $form An existing Horde_Form object to use. |
| setVars(&$vars) X-Ref |
| Set an existing vars object to use for the edit form. param: Variables $vars An existing Variables object to use. |
| setupAddForm($permission, $force_choice = null) X-Ref |
| Create a form to add a permission. param: Perms $permission param: string $force_choice If the permission to be added can be one of |
| validateAddForm(&$info) X-Ref |
| Function to validate any add form input. return: mixed Either false if the form does not validate correctly or |
| setupEditForm($permission) X-Ref |
| Create a permission editing form. param: DataTreeObject_Permission $permission |
| validateEditForm(&$info) X-Ref |
| Function to validate any edit form input. return: mixed Either false if the form does not validate correctly or |
| setupDeleteForm($permission) X-Ref |
| Create a permission deleting form. param: object $permission |
| validateDeleteForm(&$info) X-Ref |
| Function to validate any delete form input. return: mixed If the delete button confirmation has been pressed return |
| renderForm($form_script = 'edit.php') X-Ref |
| Renders the edit form. |
| _formInit() X-Ref |
| Creates any form objects if they have not been initialised yet. |
| Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |