commit
f3f9cbcd15
@ -41,6 +41,9 @@ class Translate
|
|||||||
public $cache_labels = array(); // Cache for labels return by getLabelFromKey method
|
public $cache_labels = array(); // Cache for labels return by getLabelFromKey method
|
||||||
public $cache_currencies = array(); // Cache to store currency symbols
|
public $cache_currencies = array(); // Cache to store currency symbols
|
||||||
private $cache_currencies_all_loaded = false;
|
private $cache_currencies_all_loaded = false;
|
||||||
|
public $origlang;
|
||||||
|
public $error;
|
||||||
|
public $errors = array();
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -416,7 +419,7 @@ class Translate
|
|||||||
*
|
*
|
||||||
* Value for hash are: 1:Loaded from disk, 2:Not found, 3:Loaded from cache
|
* Value for hash are: 1:Loaded from disk, 2:Not found, 3:Loaded from cache
|
||||||
*
|
*
|
||||||
* @param Database $db Database handler
|
* @param DoliDB $db Database handler
|
||||||
* @return int <0 if KO, 0 if already loaded or loading not required, >0 if OK
|
* @return int <0 if KO, 0 if already loaded or loading not required, >0 if OK
|
||||||
*/
|
*/
|
||||||
public function loadFromDatabase($db)
|
public function loadFromDatabase($db)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user