function get($key, $filename = 'common', $locale_id = null) { $strings =& strings::instance(); if (!$locale_id) { if (defined('MANAGEMENT_LOCALE_ID')) { $locale_id = MANAGEMENT_LOCALE_ID; } else { $locale_id = DEFAULT_MANAGEMENT_LOCALE_ID; } } return $strings->_get_recursive($key, $filename, $locale_id); }
function get($key, $filename = 'common', $locale_id = null) { if (!$locale_id) { if (defined('MANAGEMENT_LOCALE_ID')) { $locale_id = MANAGEMENT_LOCALE_ID; } else { $locale_id = DEFAULT_MANAGEMENT_LOCALE_ID; } } $instance =& strings::instance(); return $instance->_do_get($key, $filename, $locale_id); }
function get($key, $filename='common', $locale_id=null) { $strings =& strings :: instance(); return $strings->_get_recursive($key, $filename, $locale_id); }