diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-11-22 16:26:29 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-11-22 16:26:29 +0100 |
commit | ce0c9561e9068d5dab9c473f1ca0709b0d222cf1 (patch) | |
tree | e4cb5f26a6ee9eb3e52c3314c33c98e2e526b9d8 /user_guide_src/source/libraries | |
parent | 53fff911de3564c8688550452f138991730a704f (diff) |
Fix issue #118 (manually implementing PR #1832)
Diffstat (limited to 'user_guide_src/source/libraries')
-rw-r--r-- | user_guide_src/source/libraries/language.rst | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/user_guide_src/source/libraries/language.rst b/user_guide_src/source/libraries/language.rst index b231f14a3..772f70d0b 100644 --- a/user_guide_src/source/libraries/language.rst +++ b/user_guide_src/source/libraries/language.rst @@ -66,9 +66,14 @@ text using this function:: $this->lang->line('language_key'); -Where language_key is the array key corresponding to the line you wish +Where *language_key* is the array key corresponding to the line you wish to show. +You can optionally pass FALSE as the second argument of that method to +disable error logging, in case you're not sure if the line exists:: + + $this->lang->line('misc_key', FALSE); + .. note:: This method simply returns the line. It does not echo it. Using language lines as form labels |