captcha-module/application/component/widget/oecaptchawarticledetails.php

31 lines
587 B
PHP
Raw Normal View History

<?php
/**
* #PHPHEADER_OECAPTCHA_LICENSE_INFORMATION#
*/
/**
* Article detailed information widget.
*/
2016-04-14 12:05:32 +02:00
class oeCaptchaWArticleDetails extends oeCaptchaWArticleDetails_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;
}
}