PHP Class romaninsh\validation\MB
$model->add('Controller_Validator_MB',array(
'encoding'=>'UTF-8'))
->is();
org
$model->validator->add('Controller_Validator_MB',array(
'encoding'=>'UTF-8'))
->is();
Q: Why not implement Multi-byte support inside basic validator?
A: For the same reason why PHP's strlen() is not supporting multibyte.
Afficher le fichier
Open project: atk4/atk4
Méthodes publiques
Свойство |
Type |
Description |
|
$encoding |
|
TODO: Multibyte stuff: refactor to a better place?? |
|
$is_mb |
|
|
|
Méthodes publiques
Method Details
mb_str_to_lower()
public méthode
Is the PHP5 multibyte lib available?
mb_str_to_upper()
public méthode
mb_str_to_upper_words()
public méthode
mb_truncate()
public méthode
rule_len()
public méthode
Property Details
$encoding public_oe property
TODO: Multibyte stuff: refactor to a better place??
$is_mb public_oe property