public function __destruct() { if (T::getConfig('saveresult')) { $this->save(); } }
public function save($verbose = false, $destfile = '') { $destfile = T::getConfig('path') . $this->locale . "_usage.php"; file_put_contents($destfile, serialize($this->strings_usage)); }