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.
Mostra file
Open project: atk4/atk4
Public Properties
Property |
Type |
Description |
|
$encoding |
|
TODO: Multibyte stuff: refactor to a better place?? |
|
$is_mb |
|
|
|
Public Methods
Method Details
mb_str_to_lower()
public method
Is the PHP5 multibyte lib available?
mb_str_to_upper()
public method
mb_str_to_upper_words()
public method
mb_truncate()
public method
Property Details
$encoding public_oe property
TODO: Multibyte stuff: refactor to a better place??
$is_mb public_oe property