30 |
* |
* |
31 |
* @return NCache |
* @return NCache |
32 |
*/ |
*/ |
33 |
function build($path, $timeout = 3600) |
public static function build($path, $timeout = 3600) |
34 |
{ |
{ |
35 |
$path = __DIR__ . '/' . $path; |
$path = __DIR__ . '/' . $path; |
36 |
|
|
135 |
* |
* |
136 |
* @return void |
* @return void |
137 |
*/ |
*/ |
138 |
function load($lang) |
public static function load($lang) |
139 |
{ |
{ |
140 |
global $_t; |
global $_t; |
141 |
$_t = array(); |
$_t = array(); |
190 |
* |
* |
191 |
* @return string |
* @return string |
192 |
*/ |
*/ |
193 |
function _t($s) { |
public static function _t($s) { |
194 |
if (trim($s) == '') |
if (trim($s) == '') |
195 |
return ''; |
return ''; |
196 |
|
|