PEEL Shopping
Open source ecommerce : PEEL Shopping
Public Member Functions | Data Fields
FormError Class Reference

Public Member Functions

 bg ($name)
 formError::bg() More...
 
 text ($name=null)
 formError::text() More...
 
 add ($name, $text=null)
 formError::add() More...
 
 has_error ($name)
 formError::has_error() More...
 
 count ()
 formError::count() More...
 
 valide_form (&$frm, $error_field_messages_array=array(), $field_minimal_lengths_array=array(), $field_validation_function_names_array=array())
 Valide les informations d'un tableau de données et ajoute des erreurs à l'objet d'erreur si nécessaire. More...
 

Data Fields

 $error = array()
 

Detailed Description

Definition at line 27 of file FormError.php.

Member Function Documentation

add (   $name,
  $text = null 
)

formError::add()

Parameters
string$name
string$text
Returns

Definition at line 78 of file FormError.php.

bg (   $name)

formError::bg()

Parameters
mixed$name
Returns

Definition at line 36 of file FormError.php.

count ( )

formError::count()

Returns

Definition at line 99 of file FormError.php.

has_error (   $name)

formError::has_error()

Parameters
string$name
Returns

Definition at line 89 of file FormError.php.

text (   $name = null)

formError::text()

Parameters
mixed$name
Returns

Definition at line 49 of file FormError.php.

valide_form ( $frm,
  $error_field_messages_array = array(),
  $field_minimal_lengths_array = array(),
  $field_validation_function_names_array = array() 
)

Valide les informations d'un tableau de données et ajoute des erreurs à l'objet d'erreur si nécessaire.

Parameters
array$frmArray with all fields data
array$error_field_messages_array
array$field_minimal_length_messages_array
array$field_validation_function_names_array
Returns

Definition at line 113 of file FormError.php.

Field Documentation

$error = array()

Definition at line 28 of file FormError.php.


The documentation for this class was generated from the following file:

This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:41:43 - Peel ecommerce is a product of Agence web Advisto SAS. All rights reserved.