IFormControl

From FiFormsWiki

Jump to: navigation, search

class iFormControl extends iContainer

iFormControl is an iContainer which generates the navigation controls on a form


Contents

Properties

$boundForm The form this control is navigating


Properties inherited from iContainer: $drawCaption $drawInput $formatStr $inputs

Properties inherited from iInput: $caption $currentRec $dbField $error $errorMsg $formatStr $formatStrRO $otherTags $readOnly $section $value $valueToSave

Method Detail

Methods inherited from iContainer

  • drawInput
  • iContainer
  • outputRow

Methods inherited from iInput

  • checkRO
  • drawInput
  • getValueToSave
  • hide
  • iInput
  • throwError


buildDeleteConfirm

Build a delete confirmation message with appropriate links

Syntax: buildDeleteConfirm()


Returns

N/A


buildMyURL

build the base URI for the links using the URL of the current page

Syntax: buildMyURL()


Returns

A string URI


buildURLs

Build the URLs for the navigation links

Syntax: buildURLs()


Returns

N/A


createNavInputs

Create an array of iLink inputs on control

Syntax: createNavInputs()


Returns

N/A


createSubmitButton

Create the Submit (Insert/Update) button

Syntax: createSubmitButton()


Returns

N/A


iFormControl

Constructs a new iFormControl

Syntax: iFormControl($boundForm)


Parameters

$boundForm - The form this control is navigating

Returns

iFormControl

Personal tools