Blesta Source Documentation

AbstractDataFeed implements DataFeedInterface

AbstractYes

Abstract data feed

Attributes
#[AllowDynamicProperties]
Table of Contents

Interfaces

DataFeedInterface Data feed interface

Properties

$Html
$errors

Methods

__construct() Init
errors() Retrieves any errors associated with the captcha
getOptionFields() Gets a list of the options input fields
setErrors() Sets the given errors
Properties

$errors

private array<string|int, mixed> $errors = []

An array of errors

Methods

errors()

Retrieves any errors associated with the captcha

public errors() : array<string|int, mixed>
Return values
array<string|int, mixed>

An array of errors

getOptionFields()

Gets a list of the options input fields

public getOptionFields([array<string|int, mixed> $vars = [] ]) : InputFields
Parameters
$vars : array<string|int, mixed> = []

An array containing the posted fields

Return values
InputFields

An object representing the list of input fields

setErrors()

Sets the given errors

protected setErrors(array<string|int, mixed> $errors) : mixed
Parameters
$errors : array<string|int, mixed>

An array of error messages in the format:

  • ['name' => ['type' => 'Error Message']]
Tags
subpackage

core.Util.DataFeed.Common

copyright

Copyright (c) 2022, Phillips Data, Inc.

license

http://www.blesta.com/license/ The Blesta License Agreement

link

Blesta


        
On this page

Search results