Function Standard_crud_module->get_permission_fields

Definitions

sources/crud_module.php

  • Standard CRUD-module permission chooser.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: object

Parameters

Name Type Default Set Range Description
$category_id ?ID_TEXT required parameter N/A N/A The category ID the permissions are being chosen for (null: new category)
$help ?Tempcode Null N/A N/A Extra help to show in interface (null: none)
$new_category boolean False N/A N/A Whether this is a new category (don't load permissions, default to on)
$pinterface_view ?Tempcode Null N/A N/A Label for view permissions (null: default)

Return

  • The permission fields
  • Type: Tempcode
  • Set: N/A
  • Range: N/A