Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
	function get($key, $filename='common', $locale_id=null)
	{
		$strings =& strings :: instance();
			  
	  return $strings->_get_recursive($key, $filename, $locale_id);
	}