Revert "Upgrade to OXID 7 with Twig & Smarty"

This commit is contained in:
LarsStegelitz@Oxid
2023-08-15 14:11:11 +02:00
committed by GitHub
parent 3acc30a3a5
commit 64abb3b36f
49 changed files with 829 additions and 880 deletions

View File

@ -0,0 +1,30 @@
<?php
/**
* #PHPHEADER_OECAPTCHA_LICENSE_INFORMATION#
*/
/**
* Article detailed information widget.
*/
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;
}
}