Quantcast
Viewing all articles
Browse latest Browse all 30

$sodapop->loadSodapop()

loadSodapop() is where we really get everything rolling.  We load the language,
Config file, template, all that good stuff as well as find out what should be
happening on the requested page.
Location: class.sodapop.php
     
public function loadSodapop() {
$this->config = $this->loadConfigFile();
$this->dbConnect = $this->dbConnect($this->config);
$this->currentLanguage = $this->setLanguage();
$this->template = $this->database->templateLookup();
$this->template['path'] = $this->view->loadTemplate($this->template['name']);
$this->pageData = $this->database->pageData($this);
$this->pageData['filePath'] = $this->appFilePath();
$this->loadLanguage = $this->loadLanguage();
}

Viewing all articles
Browse latest Browse all 30

Trending Articles