Overview

Packages

  • None
  • PHPShopAjaxElements
  • PHPShopAjaxElementsDepricated
  • PHPShopArray
  • PHPShopClass
    • Helper
  • PHPShopCore
  • PHPShopCoreDepricated
  • PHPShopCoreFunction
  • PHPShopDepricated
  • PHPShopElements
  • PHPShopElementsDepricated
  • PHPShopGUI
  • PHPShopInc
  • PHPShopObj
  • PHPShopParser
  • PHPShopShopCore
  • PHPShopTest

Classes

  • PHPShopBannerElement
  • PHPShopBrandsElement
  • PHPShopCartElement
  • PHPShopCloudElement
  • PHPShopCoreElement
  • PHPShopCurrencyElement
  • PHPShopGbookElement
  • PHPShopNewsElement
  • PHPShopOprosElement
  • PHPShopPageCatalogElement
  • PHPShopPhotoElement
  • PHPShopProductIconElements
  • PHPShopProductIndexElements
  • PHPShopRecaptchaElement
  • PHPShopShopCatalogElement
  • PHPShopSkinElement
  • PHPShopSliderElement
  • PHPShopSortElement
  • PHPShopTextElement
  • PHPShopUserElement
  • Overview
  • Package
  • Class
  • Tree

Class PHPShopRecaptchaElement

Элемент защитной картинки Recaptcha

PHPShopElements
Extended by PHPShopRecaptchaElement
Package: PHPShopElements
Author: PHPShop Software
Version: 1.0
Located at inc/elements.inc.php
Methods summary
public
# __construct( )

Конструктор

Конструктор

Overrides

PHPShopElements::__construct()
public boolean
# check( )

Проверка правильности заполнения каптчи

Проверка правильности заполнения каптчи

Returns

boolean
public boolean
# security( array $option = array('url' => false, 'captcha' => true, 'referer' => true) )

Проверка ботов

Проверка ботов

Parameters

$option
параметры проверки [url|captcha|referer]

Returns

boolean
protected array
# request( )

Проверка каптчи в Google

Проверка каптчи в Google

Returns

array
public string
# captcha( string $name = 'default', string $size = 'normal' )

Вывод зашитной картинки recaptcha

Вывод зашитной картинки recaptcha

Parameters

$name
ИД каптчи
$size
размер каптчи [normal|compact]

Returns

string
public boolen
# true( )

Используется рекаптча

Используется рекаптча

Returns

boolen
Methods inherited from PHPShopElements
__call(), add(), addToTemplate(), doLoadFunction(), get(), getValue(), getValueCache(), init(), isAction(), lang(), memory_clean(), memory_get(), memory_set(), parseTemplate(), set(), setAction(), setError(), setHook(), setHtmlOption(), setValue()
Properties summary
public string $secret

Секретные ключи по умолчанию общие

Секретные ключи по умолчанию общие

# '6LdhAiYUAAAAAGzO0wlENkavrN49gFhHiHqH9vkv'
public string $public
# '6LdhAiYUAAAAAO1uc9b8KfotAyfoInSrWuygbQKC'
protected string $api

API URL

API URL

# 'https://www.google.com/recaptcha/api/siteverify'
Properties inherited from PHPShopElements
$Disp, $action, $action_prefix, $cache, $cache_format, $debug, $disp_format, $memory, $objBase, $objPath, $template_debug
PHPShop 6.X API documentation generated by ApiGen