Stud.IP  5.4
MvvI18N Class Reference
Inheritance diagram for MvvI18N:
I18N

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
 $template
 
 $name
 
 $value
 
 $attributes
 

Detailed Description

Translation class with specialised permission check for mvv.

Author
Jan-Hendrik Willms tleil.nosp@m.ax+s.nosp@m.tudip.nosp@m.@gma.nosp@m.il.co.nosp@m.m GPL2 or any later version

Member Function Documentation

◆ checkPermission()

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

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

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

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