thời tiết việt nam giá vàng thời tiết hồ chí minh thời tiết cam ranh thời tiết hà nội thời tiết đà nẵng iplocation domain authority whois bảng giá tên miền trúc vy trúc vy blog site cost top site site cost

CodeIgniter User Guide Version 2.2.6

Language Helper

The Language Helper file contains functions that assist in working with language files.

Loading this Helper

This helper is loaded using the following code:


The following functions are available:

lang('language line', 'element id')

This function returns a line of text from a loaded language file with simplified syntax that may be more desirable for view files than calling $this->lang->line(). The optional second parameter will also output a form label for you. Example:

echo lang('language_key', 'form_item_id');
// becomes <label for="form_item_id">language_key</label>