UNB Components Code Reference

UnbUi::Captcha method

Prints the image and input element for the CAPTCHA test.

public static function UnbUi::Captcha ($id = null, $text1 = null, $text2 = null);

Parameters

id  –  optional, default: null

(string) HTML element ID for the input element, or null for a default ID

text1  –  optional, default: null

(string) Main descriptive text (will not be HTML-encoded, put <br /> at the end), or null for built-in default text

text2  –  optional, default: null

(string) Second command text (will not be HTML-encoded, put <br /> at the end), or null for built-in default text

Member of class: UnbUi

Implementation file: ui.class.php, line 805

© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-22.