diff options
author | Romain d'Alverny <rda@mageia.org> | 2013-06-05 12:16:35 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2013-06-05 12:16:35 +0000 |
commit | 39e06ca25e095660c4f76e6fd05ae12dd15194f1 (patch) | |
tree | dbd0ba7652d1c7896d5f10db66835bc071eee04e | |
parent | 056c6bc8e38a5d9c9c8f6463ffd61979b9070d1d (diff) | |
download | nav-39e06ca25e095660c4f76e6fd05ae12dd15194f1.tar nav-39e06ca25e095660c4f76e6fd05ae12dd15194f1.tar.gz nav-39e06ca25e095660c4f76e6fd05ae12dd15194f1.tar.bz2 nav-39e06ca25e095660c4f76e6fd05ae12dd15194f1.tar.xz nav-39e06ca25e095660c4f76e6fd05ae12dd15194f1.zip |
static functions
-rw-r--r-- | lib.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -30,7 +30,7 @@ class NCache * * @return NCache */ - function build($path, $timeout = 3600) + public static function build($path, $timeout = 3600) { $path = __DIR__ . '/' . $path; @@ -135,7 +135,7 @@ class l10n * * @return void */ - function load($lang) + public static function load($lang) { global $_t; $_t = array(); @@ -190,7 +190,7 @@ P; * * @return string */ - function _t($s) { + public static function _t($s) { if (trim($s) == '') return ''; |