CodeIgniter v4.5 API

Honeypot
in package

class Honeypot

Tags
see
HoneypotTest

Table of Contents

Properties

$config  : Honeypot
Our configuration.

Methods

__construct()  : mixed
Constructor.
attachHoneypot()  : void
Attaches Honeypot template to response.
hasContent()  : bool
Checks the request if honeypot field has data.
prepareTemplate()  : string
Prepares the template by adding label content and field name.

Properties

$config

Our configuration.

protected Honeypot $config

Methods

__construct()

Constructor.

public __construct(Honeypot $config) : mixed
Parameters
$config : Honeypot
Tags
throws
HoneypotException

prepareTemplate()

Prepares the template by adding label content and field name.

protected prepareTemplate(string $template) : string
Parameters
$template : string
Return values
string

        
On this page

Search results