Captcha
- Namespace: \Redaxscript
- Description: parent class to provide a mathematical task
- Package: Redaxscript
- Category: Captcha
- Author: Henry Ruhs
Properties
Property | Type | Visibility | Description |
---|---|---|---|
_language | protected | ||
_mode | protected | ||
_task | protected | ||
_solution | protected | ||
_rangeArray | protected | ||
_operatorArray | protected | ||
Property | Type | Visibility | Description |
Methods
Method | Visibility | Description |
---|---|---|
__construct | public | constructor of the class |
init | public | init the class |
getTask | public | get the task |
getSolution | public | get the solution |
getMin | public | get the minimum range |
getMax | public | get the maximum range |
_getOperator | protected | get the mathematical operator used for the task |
_create | protected | create a task of two numbers between allowable range |
Method | Visibility | Description |