\FML\Script\FeaturesEntrySubmit

Script Feature for submitting an Entry

Summary

Methods
Properties
Constants
collect()
prepare()
__construct()
getEntry()
setEntry()
getUrl()
setUrl()
No public properties found
No constants found
getScriptText()
buildCompatibleUrl()
$entry
$url
N/A
No private methods found
No private properties found
N/A

Properties

$url

$url : string

Type

string — Sumit url

Methods

collect()

collect() : array<mixed,\FML\Script\Features\ScriptFeature>

Collect the Script Features of the given objects

Returns

array<mixed,\FML\Script\Features\ScriptFeature>

prepare()

prepare(\FML\Script\Script  $script) : static

Prepare the given Script for rendering by adding the needed Labels, etc.

Parameters

\FML\Script\Script $script

Script to prepare

Returns

static

__construct()

__construct(\FML\Controls\Entry  $entry = null, string  $url = null) 

Construct a new Entry Submit

Parameters

\FML\Controls\Entry $entry

(optional) Entry Control

string $url

(optional) Submit url

setEntry()

setEntry(\FML\Controls\Entry  $entry) : static

Set the Entry

Parameters

\FML\Controls\Entry $entry

Entry Control

Returns

static

getUrl()

getUrl() : string

Get the submit url

Returns

string

setUrl()

setUrl(string  $url) : static

Set the submit url

Parameters

string $url

Submit url

Returns

static

getScriptText()

getScriptText() : string

Get the script text

Returns

string

buildCompatibleUrl()

buildCompatibleUrl() : string

Build the submit url compatible for the Entry parameter

Returns

string