Packageindex Classtrees Modulegroups Elementlist Report XML Files

File: g:\Work\WWW\php\tbox\lib/cformhandlersimple.phps
PHP Documentation - PHP/Toolbox::Form

CFormHandlerSimple

CFormHandlerSimple

Basic form handler.

 

private class CFormHandlerSimple

Basic form handler.
It renders the associated form as simple succession <p>label</p> <p><input ...></p> The presentation is controlled by CSS:
  • .formrow - the whole form row (label+field) class;
  • .required - required field label class;
  • .label - ordinary field label class;
  • .nolabel - labeless field (usually button) class;
  • .field - the ordinary field class;

 
Direct known subclasses: CFormHandlerTabbed

Private Method Summary

void

start( &$form)

Use this to insert the form caption manually
void

end( &$form)

Use this to insert the form ending manually
void

startControl( &$form, &$control)

Use this to insert the control prefix (e.g. label) manually
void

endControl( &$form, &$control)

Use this to insert the control ending manually
void

startNoLabel( &$form, &$control)

Use this to insert the 'labeless' starting manually
void

endNoLabel( &$form, &$control)

Use this to insert the 'labeless' ending manually

Private Method Details

start

private void start( &$form )

  Use this to insert the form caption manually
$form->renderStart(); and/or to override the method.

Parameter
&$form
No additional comments.
Returns void


end

private void end( &$form )

  Use this to insert the form ending manually
and/or to override the method.

Parameter
&$form
No additional comments.
Returns void


startControl

private void startControl( &$form, &$control )

  Use this to insert the control prefix (e.g. label) manually
and/or to override the method.
$form->renderStartControl($form->controls["name"]);

Parameter
&$form
No additional comments.
&$control
No additional comments.
Returns void


endControl

private void endControl( &$form, &$control )

  Use this to insert the control ending manually
and/or to override the method.
$form->renderEndControl($form->controls["name"]);

Parameter
&$form
No additional comments.
&$control
No additional comments.
Returns void


startNoLabel

private void startNoLabel( &$form, &$control )

  Use this to insert the 'labeless' starting manually
and/or to override the method.

Parameter
&$form
No additional comments.
&$control
No additional comments.
Returns void


endNoLabel

private void endNoLabel( &$form, &$control )

  Use this to insert the 'labeless' ending manually
and/or to override the method.

Parameter
&$form
No additional comments.
&$control
No additional comments.
Returns void



Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta