XOOPS 2.5.6
Final
|
Public Member Functions | |
__construct () | |
createFromFile () | |
createImage () | |
createImageBmp ($file="") | |
createImageGd () | |
drawBars () | |
drawBorder () | |
drawCircles () | |
drawCode () | |
drawEllipses () | |
drawLines () | |
drawPolygons () | |
drawRectangles () | |
generateCode () | |
getList ($name, $extension="") | |
loadBackground () | |
loadFont () | |
loadImage () | |
setImageSize () | |
XoopsCaptchaImageHandler () | |
Public Attributes | |
$captcha_handler | |
$code | |
$config = array() | |
$font | |
$height | |
$invalid = false | |
$mode = 'gd' | |
$spacing | |
$width | |
XoopsCaptchaImageHandler::__construct | ( | ) |
Definition at line 46 of file image.php.
References XoopsCaptcha\getInstance(), and xoops_load().
Referenced by XoopsCaptchaImageHandler().
XoopsCaptchaImageHandler::createFromFile | ( | ) |
Draw Image background
Definition at line 235 of file image.php.
References drawBars(), and loadBackground().
Referenced by createImageGd().
XoopsCaptchaImageHandler::createImage | ( | ) |
Definition at line 92 of file image.php.
References createImageBmp(), and createImageGd().
Referenced by loadImage().
XoopsCaptchaImageHandler::createImageBmp | ( | $file = "" | ) |
#@- Create CAPTCHA image with BMP
TODO
Definition at line 383 of file image.php.
Referenced by createImage().
XoopsCaptchaImageHandler::createImageGd | ( | ) |
#@+ Create CAPTCHA iamge with GD Originated by DuGris' SecurityImage
Definition at line 138 of file image.php.
References createFromFile(), drawBars(), drawBorder(), drawCircles(), drawCode(), drawEllipses(), drawLines(), drawPolygons(), drawRectangles(), loadFont(), and setImageSize().
Referenced by createImage().
XoopsCaptchaImageHandler::drawBars | ( | ) |
Draw Bars background
Definition at line 336 of file image.php.
References $height, $i, and $width.
Referenced by createFromFile(), and createImageGd().
XoopsCaptchaImageHandler::drawBorder | ( | ) |
Draw Border
Definition at line 293 of file image.php.
Referenced by createImageGd().
XoopsCaptchaImageHandler::drawCircles | ( | ) |
Draw Circles background
Definition at line 303 of file image.php.
References $i.
Referenced by createImageGd().
XoopsCaptchaImageHandler::drawCode | ( | ) |
Draw Code
Definition at line 264 of file image.php.
References $i.
Referenced by createImageGd().
XoopsCaptchaImageHandler::drawEllipses | ( | ) |
Draw Ellipses background
Definition at line 353 of file image.php.
References $i.
Referenced by createImageGd().
XoopsCaptchaImageHandler::drawLines | ( | ) |
Draw Lines background
Definition at line 314 of file image.php.
References $i.
Referenced by createImageGd().
XoopsCaptchaImageHandler::drawPolygons | ( | ) |
Draw polygons background
Definition at line 364 of file image.php.
Referenced by createImageGd().
XoopsCaptchaImageHandler::drawRectangles | ( | ) |
Draw Rectangles background
Definition at line 325 of file image.php.
References $i.
Referenced by createImageGd().
XoopsCaptchaImageHandler::generateCode | ( | ) |
Create Code
Definition at line 67 of file image.php.
Referenced by loadImage().
XoopsCaptchaImageHandler::getList | ( | $name, | |
$extension = "" |
|||
) |
Definition at line 107 of file image.php.
References XoopsCache\read(), XoopsCache\write(), and xoops_load().
Referenced by loadBackground(), and loadFont().
XoopsCaptchaImageHandler::loadBackground | ( | ) |
Return random background
Definition at line 223 of file image.php.
References getList().
Referenced by createFromFile().
XoopsCaptchaImageHandler::loadFont | ( | ) |
Definition at line 185 of file image.php.
References getList().
Referenced by createImageGd().
XoopsCaptchaImageHandler::loadImage | ( | ) |
Definition at line 58 of file image.php.
References createImage(), and generateCode().
XoopsCaptchaImageHandler::setImageSize | ( | ) |
Definition at line 191 of file image.php.
References $i.
Referenced by createImageGd().
XoopsCaptchaImageHandler::XoopsCaptchaImageHandler | ( | ) |
Definition at line 53 of file image.php.
References __construct().
XoopsCaptchaImageHandler::$height |
Definition at line 42 of file image.php.
Referenced by drawBars().
XoopsCaptchaImageHandler::$width |
Definition at line 41 of file image.php.
Referenced by drawBars().