PHP Class TI_Form_validation, TastyIgniter

Inheritance: extends CI_Form_validation
Afficher le fichier Open project: tastyigniter/tastyigniter

Méthodes publiques

Свойство Type Description
$CI

Protected Properties

Свойство Type Description
$_old_error_array
$_old_error_messages
$_old_field_data
$old_error_string

Méthodes publiques

Méthode Description
error ( $field, $prefix = '', $suffix = '' ) --------------------------------------------------------------------
get_lat_lng ( $str, string $post_item = 'address' ) : boolean Valid Date
is_unique ( string $str, string $field ) : boolean Is Unique
reset_validation ( ) : CI_Form_validation Reset validation vars
valid_date ( $str ) : boolean Valid Date
valid_time ( $str ) : boolean Valid Time
xss_clean ( $str ) : string XSS Clean

Méthodes protégées

Méthode Description
_translate_fieldname ( $fieldname ) : string Translate a field name

Method Details

_translate_fieldname() protected méthode

Translate a field name
protected _translate_fieldname ( $fieldname ) : string
Résultat string

error() public méthode

--------------------------------------------------------------------
public error ( $field, $prefix = '', $suffix = '' )

get_lat_lng() public méthode

Valid Date
public get_lat_lng ( $str, string $post_item = 'address' ) : boolean
$str
$post_item string
Résultat boolean

is_unique() public méthode

Check if the input value doesn't already exist in the specified database field.
public is_unique ( string $str, string $field ) : boolean
$str string
$field string
Résultat boolean

reset_validation() public méthode

Prevents subsequent validation routines from being affected by the results of any previous validation routine due to the CI singleton.
public reset_validation ( ) : CI_Form_validation
Résultat CI_Form_validation

valid_date() public méthode

Valid Date
public valid_date ( $str ) : boolean
Résultat boolean

valid_time() public méthode

Valid Time
public valid_time ( $str ) : boolean
Résultat boolean

xss_clean() public méthode

XSS Clean
public xss_clean ( $str ) : string
Résultat string

Property Details

$CI public_oe property

public $CI

$_old_error_array protected_oe property

protected $_old_error_array

$_old_error_messages protected_oe property

protected $_old_error_messages

$_old_field_data protected_oe property

protected $_old_field_data

$old_error_string protected_oe property

protected $old_error_string