Added method to receive advertisements
This commit is contained in:
parent
891be6986b
commit
727e8b3311
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue