phpDocumentor pond
[ class tree: pond ] [ index: pond ] [ all elements ]

Procedural File: _form.funcs.php

Source Location: /qp_inc/_core/ui/forms/_form.funcs.php

Page Details

This file implements Fast Form handling functions.

This file is part of Quam Plures - http://quamplures.net/ See also https://launchpad.net/quam-plures.

Author:  blueyed: Daniel HAHLER.
Author:  fplanque: Francois PLANQUE.
Copyright:  (c) 2009 - 2011 by the Quam Plures developers - http://quamplures.net/
Copyright:  

(c)2003-2009 by Francois PLANQUE - http://fplanque.net/ Parts of this file are copyright (c)2004-2005 by Daniel HAHLER - http://thequod.de/contact.

Deprecated:  

All those functions should be handled by the Form class.

Filesource:  Source Code for this file
Functions
form_formstart  [line 122]

void form_formstart( $action, [ $class = ''], [ $name = ''], [ $method = 'get'], [ $id = '']  )

Builds a form header and puts GET params of $action into hidden form inputs

Parameters:
   $action: 
   $class: 
   $name: 
   $method: 
   $id: 

API Tags:
Deprecated:  Deprecated by (@link Form::begin_form()) waltercruz> still used by qp_inc/widgets/widgets/_search_form.widget.php


[ Top ]
form_info  [line 103]

void form_info( $field_label, $field_info, [ $field_note = '']  )

form_info(-)

Parameters:
   $field_label: 
   $field_info: 
   $field_note: 

API Tags:
Deprecated:  Deprecated by (@link Form::info_field())


[ Top ]
form_text  [line 55]

mixed form_text( string $field_name, string $field_value, integer $field_size, string $field_label, [string $field_note = ''], [integer $field_maxlength = 0], [string $field_class = ''], [string $inputtype = 'text'], [boolean $output = true]  )

Builds a text (or password) input field.

Parameters:
string   $field_name:  the name of the input field
string   $field_value:  initial value
integer   $field_size:  size of the input field
string   $field_label:  label displayed in front of the field
string   $field_note:  note displayed with field
integer   $field_maxlength:  max length of the value (if 0 field_size will be used!)
string   $field_class:  the CSS class to use
string   $inputtype:  input type (only 'text' or 'password' makes sense)
boolean   $output:  display (default) or return

API Tags:
Return:  true (if output) or the generated HTML if not outputting
Deprecated:  Deprecated by (@link Form::text_input())

Information Tags:
Todo:  EdB: this is used 9 times by qp_install/index.php in v0.0.0 (EdB)

[ Top ]