IContainer

From FiFormsWiki

Jump to: navigation, search

class iContainer extends iInput

Contents

Properties

$drawCaption
$drawInput
$formatStr array of html code used as a "wrapper" for the individual objects. Contains 3 string elements: head, body, and foot. Variables inside %% symbols are substituted. Special variables are %drawInput% and %drawCaption%. Note: Default initial value is array( "head" => "\n", "body" => "\n", "foot" => "
%drawInput% 
\n")
$inputs objects in the container


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

Method Detail

Methods inherited from iInput

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


drawInput

Outputs the entire container, with all objects, in HTML, using $this->formatStr

Syntax: drawInput()


Returns

N/A


iContainer

Class constructor, returns a new iContainer object

Syntax: iContainer()


Returns

a new iContainer object


outputRow

Generates output from each contained control and wraps it in HTML using $theFormat

Syntax: outputRow($theFormat)


Parameters

$theFormat - The format in which controls are wrapped into HTML.

Returns

N/A

Personal tools