items
extends tablelist
in
Word Ban Item Object List
Table of Contents
| $dbcon | DB-Verbindung | database |
|---|---|---|
| $table | Tabellen-Name | string |
| $cache | System-Cache | cache |
| $events | Event-Liste | events |
| $config | System-Config-Objekt | config |
| $language | System-Sprachen-Objekt | language |
| $notifications | Notifications | notifications |
| $cacheName | Cache name | string |
| $cacheModule | Cache Modul | string |
| $data | Data array | array |
| __construct() | Konstruktor | void |
| getItems() | Ruft Liste von Text-Sperren ab | array |
| deleteItems() | Löscht Wort-Sperren | bool |
| replaceItems() | Ersetzt gefundene Wörter/ Zeichenketten durch Ersetzungstext | string |
| checkArticleApproval() | Prüft, ob Suchtext in $text angegeben ist um Artikel auf zu Prüfung zu setzen | bool |
| checkCommentApproval() | Prüft, ob Suchtext in $text angegeben ist um Kommentar auf zu Prüfung zu setzen | bool |
| __construct() | Konstruktor | void |
| __call() | Magische Methode für nicht vorhandene Methoden | bool |
| __callStatic() | Magische Methode für nicht vorhandene, statische Methoden | bool |
| __destruct() | Konstruktor | void |
Properties
$dbcon
DB-Verbindung
protected
database
$dbcon
$table
Tabellen-Name
protected
string
$table
$cache
System-Cache
protected
cache
$cache
$events
Event-Liste
protected
events
$events
$config
System-Config-Objekt
protected
config
$config
$language
System-Sprachen-Objekt
protected
language
$language
$notifications
Notifications
protected
notifications
$notifications
$cacheName
Cache name
protected
string
$cacheName
= false
$cacheModule
Cache Modul
protected
string
$cacheModule
= ''
$data
Data array
protected
array
$data
= []
Methods
__construct()
Konstruktor
public
__construct(
)
: void
getItems()
Ruft Liste von Text-Sperren ab
public
getItems(
)
: array
Return values
arraydeleteItems()
Löscht Wort-Sperren
public
deleteItems(
$ids :
array
)
: bool
Parameters
- $ids : array
Return values
boolreplaceItems()
Ersetzt gefundene Wörter/ Zeichenketten durch Ersetzungstext
public
replaceItems(
$text :
string
)
: string
Parameters
- $text : string
Return values
stringcheckArticleApproval()
Prüft, ob Suchtext in $text angegeben ist um Artikel auf zu Prüfung zu setzen
public
checkArticleApproval(
$text :
string
)
: bool
Parameters
- $text : string
Tags
Return values
boolcheckCommentApproval()
Prüft, ob Suchtext in $text angegeben ist um Kommentar auf zu Prüfung zu setzen
public
checkCommentApproval(
$text :
string
)
: bool
Parameters
- $text : string
Tags
Return values
bool__construct()
Konstruktor
public
__construct(
)
: void
__call()
Magische Methode für nicht vorhandene Methoden
public
__call(
$name :
string
, $arguments :
mixed
)
: bool
Parameters
- $name : string
- $arguments : mixed
Return values
bool__callStatic()
Magische Methode für nicht vorhandene, statische Methoden
public
static __callStatic(
$name :
string
, $arguments :
mixed
)
: bool
Parameters
- $name : string
- $arguments : mixed
Return values
bool__destruct()
Konstruktor
public
__destruct(
)
: void