Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
MvvI18N Class Reference
Inheritance diagram for MvvI18N:

Public Member Functions

 checkPermission (ModuleManagementModel $object, $perm=MvvPerm::PERM_WRITE)
- Public Member Functions inherited from I18N
 setReadonly ($state=true)
 checkMvvPerms (ModuleManagementModel $object, $perm=MvvPerm::PERM_WRITE)
 render (array $attributes=[])
 __toString ()

Additional Inherited Members

- Static Public Member Functions inherited from I18N
static input ($name, $value, array $attributes=[])
static textarea ($name, $value, array $attributes=[])
static isEnabled ()
- Protected Member Functions inherited from I18N
 __construct ($template, $name, $value, array $attributes)
- Protected Attributes inherited from I18N

Detailed Description

Translation class with specialised permission check for mvv.

Jan-Hendrik Willms GPL2 or any later version

Member Function Documentation

checkPermission ( ModuleManagementModel  $object,
  $perm = MvvPerm::PERM_WRITE 

MVV: Check user's permissions for an object and set the readonly state accordingly.

ModuleManagementModel$objectObject to check permissions for
string$permPermission to check (default create)
I18N object to allow chaining

The documentation for this class was generated from the following file: