Class jFormsBuilderBase

Description

base class of all builder form classes generated by the jform compiler.

a builder form class is a class which help to generate a form for the output (html form for example)

  • abstract:

Located in /forms/jFormsBuilderBase.class.php (line 22)


	
			
Direct descendents
Class Description
jFormsHtmlBuilderBase HTML form builder
Variable Summary
Method Summary
static void generateFormName ()
jFormsBuilderBase __construct (jFormsBase $form, string $action, array $actionParams)
void getName ()
void outputFooter ()
void outputHeader (array $params)
Variables
string $_action (line 33)

the action selector

  • access: protected
array $_actionParams = array() (line 39)

params for the action

  • access: protected
mixed $_endt = '/>' (line 46)
  • access: protected
jFormsBase $_form (line 27)

a form object

  • access: protected
mixed $_name (line 44)

form name

  • access: protected
Methods
static generateFormName (line 90)

generates a name for the form

  • access: public
static void generateFormName ()
Constructor __construct (line 52)
  • access: public
jFormsBuilderBase __construct (jFormsBase $form, string $action, array $actionParams)
  • jFormsBase $form: a form object
  • string $action: action selector where form will be submit
  • array $actionParams: parameters for the action
getName (line 62)
  • access: public
void getName ()
outputControl (line 79)

displays the content corresponding of the given control

  • abstract:
  • access: public
void outputControl (jFormsControl $ctrl)

Redefined in descendants as:
outputControlLabel (line 85)

displays the label corresponding of the given control

  • abstract:
  • access: public
void outputControlLabel (jFormsControl $ctrl)

Redefined in descendants as:
outputFooter (line 73)

output the footer content of the form

  • abstract:
  • access: public
void outputFooter ()

Redefined in descendants as:
outputHeader (line 68)

output the header content of the form

  • abstract:
  • access: public
void outputHeader (array $params)
  • array $params: some parameters, depending of the type of builder

Redefined in descendants as:

Documentation generated on Wed, 07 Sep 2011 13:47:24 +0200 by phpDocumentor 1.4.3