userRoll
        
        extends dataset
    
    
            
            in package
            
        
    
            
            implements
                            isCopyable                    
    
            
            Uses
                            eventModuleEmpty                    
    
        
            Benutzerrolle Objekt
Tags
Interfaces, Classes, Traits and Enums
- isCopyable
 - Interface for objects with build in cache loader
 
Table of Contents
- $cache : cache
 - System-Cache
 - $cacheName : string
 - Cache name
 - $codex : string
 - Roll codex
 - $config : config
 - System-Config-Objekt
 - $data : array<string|int, mixed>
 - data-Array für nicht weiter definierte Eigenschaften
 - $dbcon : database
 - DB-Verbindung
 - $dbExcludes : array<string|int, mixed>
 - Eigenschaften, welche beim Speichern in DB nicht von getPreparedSaveParams() zurückgegeben werden sollen
 - $editAction : string
 - Edit action string
 - $events : events
 - Event-Liste
 - $id : int
 - Objekt-ID
 - $is_system : bool
 - System roll flag
 - $language : language
 - System-Sprachen-Objekt
 - $leveltitle : string
 - Bezeichnung der Benutzer-Rolle
 - $nodata : bool
 - $this->data beim Speichern nicht berücksichtigen
 - $notifications : notifications
 - Notifications
 - $objExists : bool
 - Objektexistiert
 - $session : session
 - System-Session
 - $table : string
 - Tabellen-Name
 - $wordbanList : items
 - Wortsperren-Liste
 - __construct() : void
 - Konstruktor
 - __destruct() : void
 - Konstruktor
 - __get() : mixed
 - Magic get
 - __set() : mixed
 - Magic set
 - __toString() : string
 - Magic string
 - copy() : int
 - Creates copy of user roll
 - createFromDbObject() : bool
 - Füllt Objekt mit Daten aus Datenbank-Result
 - delete() : bool
 - Löscht eine Benutzer-Rolle in der Datenbank
 - exists() : bool
 - Prüft ob Objekt existiert
 - getCodex() : string
 - Return codex
 - getData() : array<string|int, mixed>
 - Gibt Inhalt von "data" zurück
 - getEditLink() : string
 - Gibt Link für Edit-Action zurück
 - getId() : int
 - Gibt Object-ID zurück
 - getNodata() : bool
 - Prüft, ob "data" gespeichert werden soll
 - getPreparedValueParams() : int
 - Gibt array mit Values für Prepared Statements zurück
 - getRollName() : string
 - Return (raw) roll name
 - getRollNameTranslated() : string
 - Returns translates roll name
 - init() : bool
 - Inittiert Objekt mit Daten aus der Datenbank, sofern ID vergeben wurde
 - isSystemRoll() : bool
 - System roll flag set
 - prepareDataSave() : bool
 - Bereitet Daten für Speicherung in Datenbank vor
 - save() : bool
 - Speichert einen neuen Kommentar in der Datenbank
 - setCodex() : mixed
 - Set codex
 - setId() : mixed
 - Set dataset id
 - setNodata() : mixed
 - Möglichkeit, "data"-Eigenschaft mit an Datenbank zu senden
 - setRollName() : mixed
 - Set roll name
 - update() : bool
 - Aktualisiert eine Benutzer-Rolle in der Datenbank
 - afterSaveInternal() : bool
 - Is triggered after successful database insert
 - afterUpdateInternal() : bool
 - Is triggered after successful database update
 - getEventModule() : string
 - Returns event base string
 - getEventName() : string
 - Returns full event name string
 - getPreparedSaveParams() : array<string|int, mixed>
 - Bereitet Eigenschaften des Objects zum Speichern ind er Datenbank vor und entfernt nicht speicherbare Eigenschaften
 - removeBannedTexts() : bool
 - Führt Ersetzung von gesperrten Texten in Kommentar-Daten durch
 
Properties
$cache
System-Cache
    protected
        cache
    $cache
    
    
    
    
$cacheName
Cache name
    protected
        string
    $cacheName
     = false
    
    
    
$codex
Roll codex
    protected
        string
    $codex
     = ''
    
    
    
    Tags
$config
System-Config-Objekt
    protected
        config
    $config
    
    
    
    
$data
data-Array für nicht weiter definierte Eigenschaften
    protected
        array<string|int, mixed>
    $data
     = []
    
    
    
$dbcon
DB-Verbindung
    protected
        database
    $dbcon
    
    
    
    
$dbExcludes
Eigenschaften, welche beim Speichern in DB nicht von getPreparedSaveParams() zurückgegeben werden sollen
    protected
        array<string|int, mixed>
    $dbExcludes
     = []
    
    
    
$editAction
Edit action string
    protected
        string
    $editAction
     = 'users/editroll&id='
    
    
    
$events
Event-Liste
    protected
        events
    $events
    
    
    
    
$id
Objekt-ID
    protected
        int
    $id
    
    
    
    
$is_system
System roll flag
    protected
        bool
    $is_system
     = 0
    
    
    
    Tags
$language
System-Sprachen-Objekt
    protected
        language
    $language
    
    
    
    
$leveltitle
Bezeichnung der Benutzer-Rolle
    protected
        string
    $leveltitle
     = ''
    
    
    
$nodata
$this->data beim Speichern nicht berücksichtigen
    protected
        bool
    $nodata
     = true
    
    
    
$notifications
Notifications
    protected
        notifications
    $notifications
    
    
    
    
    Tags
$objExists
Objektexistiert
    protected
        bool
    $objExists
     = false
    
    
    
$session
System-Session
    protected
        session
    $session
    
    
    
    
$table
Tabellen-Name
    protected
        string
    $table
    
    
    
    
$wordbanList
Wortsperren-Liste
    protected
        items
    $wordbanList
    
    
    
    
    Tags
Methods
__construct()
Konstruktor
    public
                    __construct([int $id = null ]) : void
    
        Parameters
- $id : int = null
 
Return values
void —__destruct()
Konstruktor
    public
                    __destruct() : void
    
    
    
        Return values
void —__get()
Magic get
    public
                    __get(string $name) : mixed
    
        Parameters
- $name : string
 
Return values
mixed —__set()
Magic set
    public
                    __set(mixed $name, mixed $value) : mixed
    
        Parameters
- $name : mixed
 - $value : mixed
 
Return values
mixed —__toString()
Magic string
    public
                    __toString() : string
    
    
    
        Return values
string —copy()
Creates copy of user roll
    public
                    copy() : int
    
    
    
    Tags
Return values
int —createFromDbObject()
Füllt Objekt mit Daten aus Datenbank-Result
    public
                    createFromDbObject(object $object) : bool
    
        Parameters
- $object : object
 
Return values
bool —delete()
Löscht eine Benutzer-Rolle in der Datenbank
    public
                    delete() : bool
    
    
    
        Return values
bool —exists()
Prüft ob Objekt existiert
    public
                    exists() : bool
    
    
    
        Return values
bool —getCodex()
Return codex
    public
                    getCodex() : string
    
    
    
    Tags
Return values
string —getData()
Gibt Inhalt von "data" zurück
    public
                    getData() : array<string|int, mixed>
    
    
    
        Return values
array<string|int, mixed> —getEditLink()
Gibt Link für Edit-Action zurück
    public
                    getEditLink() : string
    
    
    
        Return values
string —getId()
Gibt Object-ID zurück
    public
                    getId() : int
    
    
    
        Return values
int —getNodata()
Prüft, ob "data" gespeichert werden soll
    public
                    getNodata() : bool
    
    
    
        Return values
bool —getPreparedValueParams()
Gibt array mit Values für Prepared Statements zurück
    public
                    getPreparedValueParams([int $count = false ]) : int
    
        Parameters
- $count : int = false
 
Return values
int —getRollName()
Return (raw) roll name
    public
                    getRollName() : string
    
    
    
        Return values
string —getRollNameTranslated()
Returns translates roll name
    public
                    getRollNameTranslated() : string
    
    
    
    Tags
Return values
string —init()
Inittiert Objekt mit Daten aus der Datenbank, sofern ID vergeben wurde
    public
                    init() : bool
    
    
    
        Return values
bool —isSystemRoll()
System roll flag set
    public
                    isSystemRoll() : bool
    
    
    
        Return values
bool —prepareDataSave()
Bereitet Daten für Speicherung in Datenbank vor
    public
                    prepareDataSave() : bool
    
    
    
    Tags
Return values
bool —save()
Speichert einen neuen Kommentar in der Datenbank
    public
                    save() : bool
    
    
    
        Return values
bool —setCodex()
Set codex
    public
                    setCodex(string $codex) : mixed
    
        Parameters
- $codex : string
 
Tags
Return values
mixed —setId()
Set dataset id
    public
                    setId(int $id) : mixed
    
        Parameters
- $id : int
 
Return values
mixed —setNodata()
Möglichkeit, "data"-Eigenschaft mit an Datenbank zu senden
    public
                    setNodata(bool $nodata) : mixed
    
        Parameters
- $nodata : bool
 
Return values
mixed —setRollName()
Set roll name
    public
                    setRollName(string $leveltitle) : mixed
    
        Parameters
- $leveltitle : string
 
Return values
mixed —update()
Aktualisiert eine Benutzer-Rolle in der Datenbank
    public
                    update() : bool
    
    
    
        Return values
bool —afterSaveInternal()
Is triggered after successful database insert
    protected
                    afterSaveInternal() : bool
    
    
    
    Tags
Return values
bool —afterUpdateInternal()
Is triggered after successful database update
    protected
                    afterUpdateInternal() : bool
    
    
    
    Tags
Return values
bool —getEventModule()
Returns event base string
    protected
    abstract                getEventModule() : string
    
    
    
    Tags
Return values
string —getEventName()
Returns full event name string
    protected
        final            getEventName(string $event) : string
    
        Parameters
- $event : string
 
Tags
Return values
string —getPreparedSaveParams()
Bereitet Eigenschaften des Objects zum Speichern ind er Datenbank vor und entfernt nicht speicherbare Eigenschaften
    protected
                    getPreparedSaveParams() : array<string|int, mixed>
    
    
    
        Return values
array<string|int, mixed> —removeBannedTexts()
Führt Ersetzung von gesperrten Texten in Kommentar-Daten durch
    protected
                    removeBannedTexts() : bool