Function _getTranslationStrings
Get translation strings from the query result
and return the array of $i18n[fieldName][lang] = $value
Package: PHPLucidFrame\Core
Copyright: Copyright (c), PHPLucidFrame.
License: MIT License This source file is subject to the MIT license that is bundled with this source code in the file LICENSE
Author: Sithu sithu@phplucidframe.com
Located at helpers/utility_helper.php
Copyright: Copyright (c), PHPLucidFrame.
License: MIT License This source file is subject to the MIT license that is bundled with this source code in the file LICENSE
Author: Sithu sithu@phplucidframe.com
Located at helpers/utility_helper.php
object|array |
$data |
The query result |
array|string |
$fields |
<p>The array of field names to get data, e.g., 'fieldName' or <code>array('fieldName1', 'fieldName2')</code></p> |
string |
$lang = null |
The language code to fetch (if it is not provided, all languages will be fetched) |
array|object
|
The array or object of translation strings |