\ReduxFramework_button_set

Main ReduxFramework_button_set class

Summary

Methods
Properties
Constants
__construct()
render()
enqueue()
$_properties
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$_properties

$_properties

Holds configuration settings for each field in a model.

Defining the field options

array['fields'] array Defines the fields to be shown by scaffolding.

     [fieldName]         array Defines the options for a field, or just enables the field if array is not applied.
         ['name']        string Overrides the field name (default is the array key)
         ['model']       string (optional) Overrides the model if the field is a belongsTo associated value.
         ['width']       string Defines the width of the field for paginate views. Examples are "100px" or "auto"
         ['align']       string Alignment types for paginate views (left, right, center)
         ['format']      string Formatting options for paginate fields. Options include ('currency','nice','niceShort','timeAgoInWords' or a valid Date() format)
         ['title']       string Changes the field name shown in views.
         ['desc']        string The description shown in edit/create views.
         ['readonly']    boolean True prevents users from changing the value in edit/create forms.
         ['type']        string Defines the input type used by the Form helper (example 'password')
         ['options']     array Defines a list of string options for drop down lists.
         ['editor']      boolean If set to True will show a WYSIWYG editor for this field.
         ['default']     string The default value for create forms.

Methods

__construct()

__construct( $field,  $value,  $parent) : void

Field Constructor.

Required - must call the parent constructor, then assign field and value to vars, and obviously call the render field function

Parameters

$field
$value
$parent

render()

render() : void

Field Render Function.

Takes the vars and outputs the HTML for the field in the settings

enqueue()

enqueue() : void

Enqueue Function.

If this field requires any scripts, or css define this function and register/enqueue the scripts/css