Quantcast
Channel: Function Library - Sodapop Documentation
Viewing all articles
Browse latest Browse all 30

$sodapop->loadLanguage()

$
0
0
loadLanguage() loads the language files for the application, apps and modules. Language in the apps and template will override core language 
Location: class.episodapop.php

public function loadLanguage() {
$this->langPath = $this->langPath("sodapop");  
$this->langPathTem = $this->langPath("template");
$this->langPathApp = $this->langPath("app");

require_once $this->langPath; // Load Applicaiton language file
require_once $this->langPathTem; // Load Template Language file
require_once $this->langPathApp; // Load app Language file
}

Viewing all articles
Browse latest Browse all 30

Trending Articles