contenido\includes\functions.forms.php
Project:
Contenido Content Management System
Description: Contenido Form Element Generator
Requirements:
- Author
- Timo A. Hummel
- Con_php_req
- 5.0
- Copyright
- four for business AG
- License
- http://www.contenido.org/license/LIZENZ.txt
- Link
- http://www.4fb.de
- Link
- http://www.contenido.org
- Package
- Contenido Backend includes
- Since
- file available since contenido release <= 4.6 {@internal created 2003-05-20 modified 2008-06-26, Frederic Schneider, add security fix $Id: functions.forms.php 309 2008-06-26 10:06:56Z frederic.schneider $: }}
- Version
- 1.5
Functions

formGenerateCheckbox( $name, $value, $checked, $caption = "") : \Generated
Generates check box elements
Parameters
Returns
Details
Name | Type | Description |
---|---|---|
$name | Name of the checkbox | |
$value | Value of the checkbox | |
$checked | Initially checked? | |
$caption |
Type | Description |
---|---|
\Generated | field code |
- Author
- Timo A. Hummel
- Copyright
- four for business AG

formGenerateField( $type, $name, $initvalue, $width, $maxlen) : \Generated
Generates textial Input Form elements
Parameters
Returns
Details
Name | Type | Description |
---|---|---|
$type | Either "text", "password" or "textbox" | |
$name | Name of the field | |
$initvalue | Init value of the field | |
$width | ||
$maxlen | Maximum length of the field |
Type | Description |
---|---|
\Generated | field code |
- Author
- Timo A. Hummel
- Copyright
- four for business AG