[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 409 lines (12 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
FancyCaptcha:: (15 methods):
getBackend()
estimateCaptchaCount()
keyMatch()
addCaptchaAPI()
getForm()
getCaptchaIndex()
pickImage()
pickImageDir()
pickImageFromDir()
pickImageFromList()
showImage()
imagePath()
hashFromImageName()
getMessage()
passCaptcha()
Class: FancyCaptcha - X-Ref
getBackend() X-Ref |
return: FileBackend |
estimateCaptchaCount() X-Ref |
return: integer Estimate of the number of captchas files |
keyMatch( $answer, $info ) X-Ref |
Check if the submitted form matches the captcha session data provided by the plugin when the form was generated. param: string $answer param: array $info return: bool |
addCaptchaAPI( &$resultArr ) X-Ref |
No description |
getForm() X-Ref |
Insert the captcha prompt into the edit form. |
getCaptchaIndex() X-Ref |
Get captcha index key return: string captcha ID key |
pickImage() X-Ref |
Select a previously generated captcha image from the queue. return: mixed tuple of (salt key, text hash) or false if no image to find |
pickImageDir( $directory, $levels, &$lockouts ) X-Ref |
param: $directory string param: $levels integer param: $lockouts integer return: Array|bool |
pickImageFromDir( $directory, &$lockouts ) X-Ref |
param: $directory string param: $lockouts integer return: Array|bool |
pickImageFromList( $directory, array $files, &$lockouts ) X-Ref |
param: $directory string param: $files array param: $lockouts integer return: boolean |
showImage() X-Ref |
No description |
imagePath( $salt, $hash ) X-Ref |
param: $salt string param: $hash string return: string |
hashFromImageName( $basename ) X-Ref |
param: $basename string return: Array (salt, hash) |
getMessage( $action ) X-Ref |
Show a message asking the user to enter a captcha on edit The result will be treated as wiki text param: $action string Action being performed return: string |
passCaptcha() X-Ref |
Delete a solved captcha image, if $wgCaptchaDeleteOnSolve is true. |
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |