fpcmDefault
extends spamCaptcha
in
Default captcha plugin
Table of Contents
| $maxCommentTextLinks | maximale Anzahl an Links, bevor Kommentar als Spam markiert wird | int |
|---|---|---|
| $data | Data array | array |
| $cache | Cache object | cache |
| $events | Event list | events |
| $config | Config object | config |
| $language | Sprachobjekt | language |
| $session | Session objekt | session |
| $notifications | Notifications | notifications |
| $permissions | Permissions | permissions |
| $cacheName | Cache name | string |
| $cacheModule | Cache Modul | string |
| checkAnswer() | Captcha-Antwort prüfen | bool |
| checkExtras() | zusätzliche Prüfungen durchführen | bool |
| createPluginTextInput() | Create input field for Captcha | string |
| createPluginInput() | Create input field for Captcha | string |
| createPluginText() | Ausgabe des Captcha-Textes | string |
| checkAnswer() | Captcha-Antwort prüfen, true wenn Antwort richtig | bool |
| checkExtras() | Weitere Prüfungen durchführen nach Antwort auf Spam-Frage | bool |
| createPluginText() | Erzeugen eines Eingabefeldes für Captcha | string |
| createPluginInput() | Ausgabe des Captcha-Textes, Bildes, etc. | string |
| __construct() | Konstruktor | void |
| getCacheName() | Cache-Name zurückgeben | string |
Properties
$maxCommentTextLinks
maximale Anzahl an Links, bevor Kommentar als Spam markiert wird
private
int
$maxCommentTextLinks
= 5
$data
Data array
protected
array
$data
$cache
Cache object
protected
cache
$cache
$events
Event list
protected
events
$events
$config
Config object
protected
config
$config
$language
Sprachobjekt
protected
language
$language
$session
Session objekt
protected
session
$session
$notifications
Notifications
protected
notifications
$notifications
$permissions
Permissions
protected
permissions
$permissions
$cacheName
Cache name
protected
string
$cacheName
= false
$cacheModule
Cache Modul
protected
string
$cacheModule
= ''
Methods
checkAnswer()
Captcha-Antwort prüfen
public
checkAnswer(
)
: bool
Return values
boolcheckExtras()
zusätzliche Prüfungen durchführen
public
checkExtras(
)
: bool
Return values
boolcreatePluginTextInput()
Create input field for Captcha
public
createPluginTextInput(
)
: string
Tags
Return values
stringcreatePluginInput()
Create input field for Captcha
public
createPluginInput(
[ $wrap :
bool
= false ]
)
: string
Parameters
- $wrap : bool = false
Return values
stringcreatePluginText()
Ausgabe des Captcha-Textes
public
createPluginText(
)
: string
Return values
stringcheckAnswer()
Captcha-Antwort prüfen, true wenn Antwort richtig
public
abstract checkAnswer(
)
: bool
Return values
boolcheckExtras()
Weitere Prüfungen durchführen nach Antwort auf Spam-Frage
public
abstract checkExtras(
)
: bool
Return values
boolcreatePluginText()
Erzeugen eines Eingabefeldes für Captcha
public
abstract createPluginText(
)
: string
Return values
stringcreatePluginInput()
Ausgabe des Captcha-Textes, Bildes, etc.
public
abstract createPluginInput(
)
: string
Return values
string__construct()
Konstruktor
public
__construct(
)
: void
getCacheName()
Cache-Name zurückgeben
public
getCacheName(
[ $addName :
string
= '' ]
)
: string
Parameters
- $addName : string = ''