baserCMS クラスリファレンス

BcCaptchaService
in package
implements BcCaptchaServiceInterface

Class BcCaptchaService

Interfaces, Classes, Traits and Enums

BcCaptchaServiceInterface
interface BcCaptchaServiceInterface

Table of Contents

check()  : bool
認証を行う
render()  : void
キャプチャ画象を表示する

Methods

check()

認証を行う

public check(ServerRequest $request, string $token, string $value) : bool
Parameters
$request : ServerRequest
$token : string
$value : string

フォームから送信された文字列

Return values
bool

render()

キャプチャ画象を表示する

public render(ServerRequest $request, string $token) : void
Parameters
$request : ServerRequest
$token : string
Return values
void

Search results