Stud.IP
5.4
|
Public Member Functions | |
checkPermission (ModuleManagementModel $object, $perm=MvvPerm::PERM_WRITE) | |
![]() | |
setReadonly ($state=true) | |
checkMvvPerms (ModuleManagementModel $object, $perm=MvvPerm::PERM_WRITE) | |
render (array $attributes=[]) | |
__toString () | |
Additional Inherited Members | |
![]() | |
static | input ($name, $value, array $attributes=[]) |
static | textarea ($name, $value, array $attributes=[]) |
static | isEnabled () |
![]() | |
__construct ($template, $name, $value, array $attributes) | |
![]() | |
$template | |
$name | |
$value | |
$attributes | |
Translation class with specialised permission check for mvv.
checkPermission | ( | ModuleManagementModel | $object, |
$perm = MvvPerm::PERM_WRITE |
|||
) |
MVV: Check user's permissions for an object and set the readonly state accordingly.
ModuleManagementModel | $object | Object to check permissions for |
string | $perm | Permission to check (default create) |