Easy Property Listings 3.4.40 Code Reference
  • Package
  • Class
  • Tree
  • Todo
  • Hook Reference

Packages

  • EPL
    • Admin
      • Actions
      • Classes
        • ContactsTable
        • ReportsGraph
        • Welcome
      • Contacts
      • ContactsActions
      • ContactsFunctions
      • Elements
      • Functions
      • Help
      • HelpSingle
      • Menus
      • MenusAddons
      • MenusExtensions
      • MenusLicenses
      • Plugins
      • Reports
      • ReportsGraphing
      • User
    • Assets
      • ScriptsStyles
      • SVG
    • Classes
      • AuthorLoader
      • AuthorMeta
      • Contact
      • Cron
      • CustomPostType
      • Forms
      • License
      • ListingAdvanced
      • ListingElements
      • MetaboxesCustomFields
      • Pagination
      • PropertyMeta
      • RenderFields
      • Search
      • Session
      • Updater
    • Compatibility
      • Extensions
      • Functions
      • Shortcodes
    • Functions
      • Actions
      • ConditionalTags
      • ErrorTracking
      • Formatting
      • Front
      • Global
      • Install
      • Pagination
      • Settings
      • Templates
    • Hooks
      • EnergyCertificate
      • ExternalLinks
      • FloorPlan
      • Map
      • ReadMore
      • WebLink
    • Meta
      • InitCustomFields
      • Meta
    • PostTypes
      • Business
      • Commercial
      • CommercialLand
      • Contact
      • Functions
      • Land
      • Property
      • Rental
      • Rural
    • Shortcode
      • CommercialListingSearch
      • ContactForm
      • Listing
      • ListingAdvanced
      • ListingAuction
      • ListingCategory
      • ListingFeature
      • ListingLocation
      • ListingMetaDoc
      • ListingOpen
      • ListingSearch
      • Map
    • Taxonomy
      • BusinessCategories
      • ContactTag
      • Features
      • Location
    • Templates
      • Themes
        • iThemes
        • iThemesBuilder
    • Widget
      • Admin
        • Dashboard
      • Classes
        • Author
        • ContactCapture
        • Gallery
        • Listing
        • Search
      • Functions
  • None
  • WordPress
    • Session

Classes

  • EPL_FORM_BUILDER

Class EPL_FORM_BUILDER

EPL_FORM_BUILDER Class

Package: EPL\Classes\Forms
Copyright: Copyright (c) 2019, Merv Barrett
License: GNU Public License
Since: 2.3
Located at lib/includes/class-epl-form-builder.php

Methods summary

public
# __construct( array $config = array() )

Get things going

Get things going

Parameters

$config
Form ptions.

Since

2.3
public null
# __destruct( )

Call default & user submitted callbacks for this form upon form submission

Call default & user submitted callbacks for this form upon form submission

Returns

null

Since

2.3
public string
# __get( string $key )

Call default & user submitted callbacks for this form upon form submission

Call default & user submitted callbacks for this form upon form submission

Parameters

$key
Meta key.

Returns

string

Since

2.3
public
# callbacks( )

Callbacks

Callbacks

Since

2.3
public boolean|mixed
# get_configuration( string $key = '' )

Set form configuration

Set form configuration

Parameters

$key
Meta key.

Returns

boolean|mixed

Since

2.3
public mixed|string
# get_value( string $field )

Get value

Get value

Parameters

$field
Field meta key.

Returns

mixed|string

Since

2.3
public
# set_form_classes( )

Set form classes

Set form classes

Since

2.3
public
# invalid_attributes( )

List of invalid attributes per field type that must be removed from field array before field rendering

List of invalid attributes per field type that must be removed from field array before field rendering

Since

2.3
public string
# get_class( string $key = '', array $field = array() )

Get classes for wrappers, form , fields

Get classes for wrappers, form , fields

Parameters

$key
Meta key.
$field
Field type.

Returns

string

Since

2.3
public string
# get_attributes( array $field )

Get Field Attributes

Get Field Attributes

Parameters

$field
Fields.

Returns

string

Since

2.3
public
# set_form_attributes( string $key = '', string $value = '' )

The public function can be used to configure the attributes of form

The public function can be used to configure the attributes of form

Parameters

$key
Meta key.
$value
Field value.

Since

2.3
public
# add_sections( array $sections = array() )

Add multiple form sections at once

Add multiple form sections at once

Parameters

$sections
Field sections.

Since

2.3
public
# add_section( array $section = array() )

Add single section to form

Add single section to form

Parameters

$section
Field sections.

Since

2.3
public
# add_field( array $field = array() )

Add single field to form

Add single field to form

Parameters

$field
Fields array.

Since

2.3
public
# add_fields( array $fields = array() )

Add multiple form fields at once

Add multiple form fields at once

Parameters

$fields
Fields array.

Since

2.3
public
# render_form( )

Render form html based on the fields & form attributes

Render form html based on the fields & form attributes

Since

2.3
public
# render_form_container_open( )

Render form container opening tag

Render form container opening tag

Since

2.3
public
# render_form_container_close( )

Render form container closing tag

Render form container closing tag

Since

2.3
public
# render_form_open( )

Render form opening tag

Render form opening tag

Since

2.3
public
# render_form_close( )

Render form closing tag

Render form closing tag

Since

2.3
public
# render_field_container_open( )

Render field container opening tag

Render field container opening tag

Since

2.3
public
# render_field_container_close( )

Render field container closing tag

Render field container closing tag

Since

2.3
public
# render_field_label( array $field = array() )

Render field label

Render field label

Parameters

$field
Fields array.

Since

2.3
public
# add_nonce( string $action = '' )

Render nonce field

Render nonce field

Parameters

$action
Action name.

Since

2.3

Properties summary

public array $form_fields

Form fields

Form fields

Since

2.3
# array()
public array $form_sections

Form sections

Form sections

Since

2.3
# array()
public array $configuration

Configuration of this form

Configuration of this form

Since

2.3
# array()
public boolean $has_nonce

Form has nonce or not

Form has nonce or not

Since

2.3
# false
public array $form_attributes

Holds the list of form attributes, defaults & added by user

Holds the list of form attributes, defaults & added by user

Since

2.3
# array()
Easy Property Listings 3.4.40 Code Reference API documentation generated by ApiGen