Свойство | Тип | Описание | |
---|---|---|---|
$strCaptchaKey | string | Captcha key | |
$strPrefix | string | The CSS class prefix | |
$strQuestion | string | Security questions | |
$strTemplate | string | Template |
Метод | Описание | |
---|---|---|
__construct ( array $arrAttributes = null ) | Initialize the object | |
__get ( string $strKey ) : mixed | Return a parameter | |
__set ( string $strKey, mixed $varValue ) | Add specific attributes | |
generate ( ) : string | Generate the widget and return it as string | |
generateLabel ( ) : string | Generate the label and return it as string | |
generateQuestion ( ) : string | Return the captcha question as string | |
validate ( ) | Validate the input and set the value |
Метод | Описание | |
---|---|---|
getQuestion ( ) : string | Generate the captcha question |
public __construct ( array $arrAttributes = null ) | ||
$arrAttributes | array | An optional attributes array |
public generateLabel ( ) : string | ||
Результат | string | The label markup |
public generateQuestion ( ) : string | ||
Результат | string | The question markup |
protected getQuestion ( ) : string | ||
Результат | string | The question string |