$translators
$translators : array
"Permissions" Admin Page
$translators : array
$template_data : array
$page_title : string
$locale : string
$current_user_model : \App\Site\Models\User
$action_buttons : array
$current_user : array
$route_info : \App\Site\Routing\RouteInfo
renderPage(\App\Site\Routing\RouteInfo|null $route_info = null, array $route_data = []) : \Symfony\Component\HttpFoundation\Response|self
controller entrypoint
\App\Site\Routing\RouteInfo|null | $route_info | |
array | $route_data |
fillConfirmationForm(string $confirm_message, \Degami\PHPFormsApi\Form $form, string|null $cancel_url = null) : \Degami\PHPFormsApi\Form
gets a form for confirmation
string | $confirm_message | |
\Degami\PHPFormsApi\Form | $form | |
string|null | $cancel_url |
loadRolePermission(\App\Site\Models\Role $role_model, \App\Site\Models\Permission $permission_model) : \App\Site\Models\RolePermission|null
load role permission
\App\Site\Models\Role | $role_model | |
\App\Site\Models\Permission | $permission_model |
addPermission(\App\Site\Models\Role $role_model, \App\Site\Models\Permission $permission_model) : mixed
adds permission to role
\App\Site\Models\Role | $role_model | |
\App\Site\Models\Permission | $permission_model |