XOOPS
2.6.0
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
text.php
Go to the documentation of this file.
1
<?php
19
class
XcaptchaText
extends
Xcaptcha
20
{
21
public
$config
= array();
22
23
public
$plugin
;
24
25
function
__construct
()
26
{
27
$this->xcaptcha_handler =
Xcaptcha::getInstance
();
28
$this->
config
= $this->xcaptcha_handler->loadConfig(
'text'
);
29
$this->plugin =
'text'
;
30
}
31
32
function
VerifyData
()
33
{
34
$system
=
System::getInstance
();
35
$config
= array();
36
$_POST[
'num_chars'
] =
$system
->cleanVars($_POST,
'num_chars'
, 6,
'int'
);
37
foreach
(array_keys($this->
config
) as $key) {
38
$config
[$key] = $_POST[$key];
39
}
40
return
$config
;
41
}
42
}
XcaptchaText\$plugin
$plugin
Definition:
text.php:23
$system
$system
Definition:
page_extensioninstaller.php:74
System\getInstance
static getInstance()
Definition:
system.php:46
config
XcaptchaText\VerifyData
VerifyData()
Definition:
text.php:32
Xcaptcha\getInstance
static getInstance()
Definition:
xcaptcha.php:40
XcaptchaText\$config
$config
Definition:
text.php:21
XcaptchaText
Definition:
text.php:19
XcaptchaText\__construct
__construct()
Definition:
text.php:25
Xcaptcha
usr64
htdocs
modules
xcaptcha
plugins
text.php
Generated on Fri May 22 2015 03:06:59 for XOOPS by
1.8.9.1