Added method to receive advertisements

This commit is contained in:
Abel Hoogeveen 2016-01-17 13:09:41 +01:00
parent 891be6986b
commit 727e8b3311
1 changed files with 9 additions and 0 deletions

View File

@ -165,6 +165,15 @@ class Module {
$this->advertisements[$advertiseName] = $advertiseData;
}
/**
* Get the advertisements with a specific name
* @param String $advertiseName AdvertisementName
* @return array AdvertisementData
*/
public function getAdvertisements($advertiseName) {
return $this->advertisements[$advertiseName];
}
/**
* Return a value from the module configuration
* @access public