contenido\classes\class.form.php
Project:
Contenido Content Management System
Description: Class for creating form pages
Requirements:
- Author
- Jan Lengowski
- 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 classes
- Since
- file available since contenido release <= 4.6 {@internal created unknown modified 2008-06-30, Dominik Ziegler, add security fix modified 2009-10-23, Murat Purc, removed deprecated function (PHP 5.3 ready) $Id: class.form.php 1085 2009-10-24 02:01:34Z xmurrix $: }}
- Version
- 1.0.1
\Form
Package: Default


Properties
Methods


Define( $which, $value) : void
Define() Define properties of the form or the elements
Parameters
Details
Name | Type | Description |
---|---|---|
$which | ||
$value |
- string
Which property to define
- string
Values of the property


Generate( $template) : void
Form::generate()
Parameters
Name | Type | Description |
---|---|---|
$template | string Path/Filename of the template to use |


Passed() : bool
Passed() Checks if the form passed
Returns
Type | Description |
---|---|
bool | TRUE: Form passed without errors, FALSE: Errors |
\FormCheck
Package: Default



class FormCheck
Class for checking form values
- Author
- Jan Lengowski
- Copyright
- four for business 2002
- Version
- 1.0
Methods


isAlphabetic( $value) : void
isAlphabetic() Checks if a value is alphabetic
Parameters
Name | Type | Description |
---|---|---|
$value | mixed Value to check |


isEmail( $value) : void
isEmail() Checks if a string is a valid email adress
Parameters
Name | Type | Description |
---|---|---|
$value | string eMail string to check |


isNotEmpty( $value) : void
isNotEmpty() Checks if a value is NOT empty
Parameters
Name | Type | Description |
---|---|---|
$value | mixed Value to check |


isNotNull( $value) : void
isNotNull() Checks if a value is NOT null
Parameters
Name | Type | Description |
---|---|---|
$value | mixed Value to check |
\FormField
Package: Default
Class Formfield
Class for creating form elements
- Author
- Jan Lengowski
- Copyright
- four for business 2002
- Version
- 1.0