summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries/language.html
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2008-06-27 19:14:46 +0200
committerDerek Jones <derek.jones@ellislab.com>2008-06-27 19:14:46 +0200
commitcc1be0f6fbf032896b5b1f6373cb247df648f6c8 (patch)
tree36598df1c2a9be1dd5fd811abcff6a992ccf2f34 /user_guide/libraries/language.html
parent727ec3141beefb5ee6e2852ec83309c259828e4e (diff)
Moved the <label> output ability from the language library to a language helper (hotfix for 1.6.3)
Diffstat (limited to 'user_guide/libraries/language.html')
-rw-r--r--user_guide/libraries/language.html7
1 files changed, 1 insertions, 6 deletions
diff --git a/user_guide/libraries/language.html b/user_guide/libraries/language.html
index b776b7d26..4d93cf9d9 100644
--- a/user_guide/libraries/language.html
+++ b/user_guide/libraries/language.html
@@ -113,12 +113,7 @@ is the language set containing it (ie, english). If the second parameter is mis
<h3>Using language lines as form labels</h3>
-<p>If your application requires it, a language line can automatically be output as a &lt;label&gt; by specifying a second parameter, which will become the "for" attribute of the label.</p>
-
-<code>
-$this->lang->line('<samp>language_key</samp>', '<samp>form_item_id</samp>'); <br />
-// becomes &lt;label for="form_item_id"&gt;language_key&lt;/label&gt;
-</code>
+<p class="important">This feature has been deprecated from the language library and moved to the <kbd>lang()</kbd> function of the <a href="../helpers/language_helper.html">Language helper</a>.</p>
<h2>Auto-loading Languages</h2>
<p>If you find that you need a particular language globally throughout your application, you can tell CodeIgniter to <a href="../general/autoloader.html">auto-load</a> it during system initialization. This is done by opening the application/config/autoload.php file and adding the language(s) to the autoload array.</p>