function ad_channel_container_load in Advertisement 7
Same name and namespace in other branches
- 6.3 channel/ad_channel.module \ad_channel_container_load()
- 6.2 channel/ad_channel.module \ad_channel_container_load()
Load a specified container.
File
- channel/
ad_channel.module, line 100 - Ad Channel module.
Code
function ad_channel_container_load($conid = 0) {
static $containers = array();
if (!isset($containers[$conid])) {
$containers[$conid] = db_query('SELECT * FROM {ad_channel_container} WHERE conid = %d', $conid)
->fetch();
}
return $containers[$conid];
}