IP.Nexus Advertisements Class.
More...
Detailed Description
IP.Nexus Advertisements Class.
Member Function Documentation
Get Specific Ad
- Parameters:
-
| int | $id | ID number from nexus_ads |
- Returns:
- string HTML for advertisement
Get Ad Code
- Parameters:
-
| string | $key | Key for location |
- Returns:
- string HTML for advertisement
Example Usage:
Retrieves global advertising code for display
- Parameters:
-
| string | $position | header or footer |
| string | $code | Code to be displayed at specified position |
- Returns:
- void
Sets global advertising code for display
- Parameters:
-
| string | $position | header or footer |
| string | $code | Key for code to be displayed at specified position |
- Returns:
- void
Checks to see if the specified member group can view ads. Nexus controls this per ad, so let's just return true
- Returns:
- bool true
Field Documentation
$footerCode = '' [static] |
Ad code to overwrite the global footer code
$headerCode = '' [static] |
Ad code to overwrite the global header code
The documentation for this class was generated from the following file:
- admin/applications_addon/ips/nexus/sources/ads.php