Example #1
0
 public static function translator()
 {
     static $translator = true;
     if ($translator === true) {
         $module = Module_GWF::instance();
         $translator = $module->onLoadLanguage();
     }
     return $translator;
 }
Example #2
0
 private function increasePageView($by = 1)
 {
     //		require_once 'GWF_Pageview.php';
     //		GWF_Pageview::increaseTodayView($by);
     self::$pagecount = GWF_Counter::getAndCount('pagecount', $by);
     //		$this->saveModuleVar('pagecount', $this->cfgPagecount()+$by);
 }
Example #3
0
 private function templateEdit(Module_GWF $module)
 {
     $tVars = array();
     return $module->templatePHP('edit_config.php', $tVars);
 }