mirror of
https://git.d3data.de/3rdParty/captcha-module.git
synced 2024-11-21 14:13:11 +01:00
30 lines
537 B
PHP
30 lines
537 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* #PHPHEADER_OECAPTCHA_LICENSE_INFORMATION#
|
||
|
*/
|
||
|
|
||
|
class oecaptchaaccountuser extends oecaptchaaccountuser_parent
|
||
|
{
|
||
|
/**
|
||
|
* Class handling CAPTCHA image.
|
||
|
*
|
||
|
* @var object
|
||
|
*/
|
||
|
protected $captcha = null;
|
||
|
|
||
|
/**
|
||
|
* Template variable getter. Returns object of handling CAPTCHA image
|
||
|
*
|
||
|
* @return object
|
||
|
*/
|
||
|
public function getCaptcha()
|
||
|
{
|
||
|
if ( $this->captcha === null ) {
|
||
|
$this->captcha = oxNew( 'oeCaptcha' );
|
||
|
}
|
||
|
|
||
|
return $this->captcha;
|
||
|
}
|
||
|
}
|