\RegPage_ValidateCode

验证码类.

Summary

Methods
Properties
Constants
__construct()
GetImg()
GetCode()
No public properties found
No constants found
createCode()
createBg()
createFont()
createLine()
outPut()
$charset
$code
$codelen
$width
$height
$img
$font
$fontsize
$fontcolor
N/A
No private methods found
No private properties found
N/A

Properties

$charset

$charset : 

Type

$code

$code : 

Type

$codelen

$codelen : 

Type

$width

$width : 

Type

$height

$height : 

Type

$img

$img : 

Type

$font

$font : 

Type

$fontsize

$fontsize : 

Type

$fontcolor

$fontcolor : 

Type

Methods

__construct()

__construct() 

构造方法初始化.

GetImg()

GetImg() 

对外生成.

GetCode()

GetCode() : string

获取验证码

Returns

string

createCode()

createCode() 

生成随机码

createBg()

createBg() 

生成背景.

createFont()

createFont() 

生成文字.

createLine()

createLine() 

生成线条、雪花.

outPut()

outPut() 

输出.