\apex\core\formcms_menus

Summary

Methods
Properties
Constants
get_fields()
get_record()
$allow_post_values
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$allow_post_values

$allow_post_values :

Type

Methods

get_fields()

get_fields(array  $data = array()): array

Defines the form fields included within the HTML form.

Parameters

array $data

An array of all attributes specified within the e:function tag that called the form.

Returns

array —

Keys of the array are the names of the form fields.

get_record()

get_record(string  $record_id): array

Get record from database.

Gathers the necessary row from the database for a specific record ID, and is used to populate the form fields. Used when modifying a record.

Parameters

string $record_id

The value of the 'record_id' attribute from the e:function tag.

Returns

array —

An array of key-value pairs containg the values of the form fields.