Quantcast
Viewing latest article 13
Browse Latest Browse All 30

$sodapop->modPosition($position)

modPosition() determines which modules are assigned to the given module position

Parameters: $position - the module position which you would like to load.  Expects: The name of the module position to load

Location: class.sodapop.php
public function modPosition($position) {
// This grabs the data from the db table for the modules assigned to the 
// given position, including the module's name
$this->allModsData = $this->database->modsInPosition ($position);
$this->loadModule($this->allModsData);
}

Viewing latest article 13
Browse Latest Browse All 30

Trending Articles