CodeIgniter Forums
DMZ language file - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: DMZ language file (/showthread.php?tid=32565)



DMZ language file - El Forum - 07-27-2010

[eluser]frist44[/eluser]
When you install DMZ, it requires that you put the datamapper_lang.php in the languages. The content of the file seems to resemble the form_validation_lang.php file.

By default, I noticed that my error messages are coming from the form_validation_lang.php, what is the use of the datamapper_lang.php ?

Is there a way to ensure that the messages are coming from datamapper_lang.php, otherwise, what is the point of having this file?


DMZ language file - El Forum - 07-27-2010

[eluser]frist44[/eluser]
It seems that maybe datamapper is providing additional validation rules. Is this the point of it? So the 'required' that I was referring, exists in form_validation, so therefore, it would be in the form_validation language file.

The part that confuses me is the rule "min_length" in the form_validation, and "min_size" in datamapper. Are they not the same?