Smart.Framework Logo

final class \SmartSVGCaptcha
{ } ->

Class: SVG Captcha - A SVG Image Plugin for SmartCaptcha
Create a Form Captcha Validation Vector Image (SVG)


class Methods

public function __construct ( int $numchars, int $width, int $height, MIXED $difficulty = null ) {} @ 
@param: {INT} $numchars: The number of glyphs (characters) the captcha will contain
@param: {INT} $width: The width of the captcha
@param: {INT} $height: The height of the captcha
@param: {MIXED} $difficulty: The difficulty of the captcha to generate ; Valid values are: -1 = very easy ; 0 = easy (default) ; 1 = moderate ; 2 = hard ; 3 = very hard ; alternate can be an array of settings
Class constructor
public function draw_image ( ) {} -> STRING
@return: {STRING} The Captcha SVG (Vector) Image
Generate the code and the SVG Image
public function get_code ( ) {} -> STRING
@return: {STRING} The Captcha generated code
Get the generated code
Must be call only after draw_image()

class Properties


class Constants



documentation generated on: 2023-10-19 23:15:52 +0000


Smart.Framework © 2009-2023 unix-world.org