function dfp_tag_load_all in Doubleclick for Publishers (DFP) 7.2
Same name and namespace in other branches
- 7 dfp.module \dfp_tag_load_all()
Load all dfp ad tags.
Parameters
boolean $include_disabled:
Return value
array of tags.
8 calls to dfp_tag_load_all()
- dfp_adtest_page in ./
dfp.adtest.inc - Page callback for the DFP test page. It displays all tags on the site.
- dfp_block_info in ./
dfp.module - Implements hook_block_info().
- dfp_context_reaction_adunit::options_form in plugins/
contexts/ dfp_context_reaction_adunit.inc - Allow admins to choose what DFP adunit to override.
- dfp_context_reaction_outofpage::options_form in plugins/
contexts/ dfp_context_reaction_outofpage.inc - Allow admins to choose what tags show.
- dfp_context_reaction_sizes::options_form in plugins/
contexts/ dfp_context_reaction_sizes.inc - Allow admins to choose what DFP adunit to override.
File
- ./
dfp.module, line 516
Code
function dfp_tag_load_all($include_disabled = FALSE) {
ctools_include('export');
$tags = ctools_export_crud_load_all('dfp_tags');
foreach ($tags as $key => $tag) {
if (!$include_disabled && isset($tag->disabled) && $tag->disabled) {
unset($tags[$key]);
}
}
return $tags;
}