Quantcast
Viewing all articles
Browse latest Browse all 30

$sodapop->loadView()

loadView() allows the app's controller to call in the apps view and push the $data array into it.

Location: class.sodapop.php
public function loadView() {

$appPath =  "./apps/" . $this->pageData['getApp'] . "/view.php";
require_once $appPath;

$loadViewApp = new appView($data);
$appView = $appView->buildAppView($data);
return $viewApp;
}

Viewing all articles
Browse latest Browse all 30

Trending Articles