You are here

function hook_simpleads_stats_info in SimpleAds 7

Add additional infromation to Ads listing and Ad statistics page.

Parameters

object $node:

string $op:

  • list
  • detail
  • ad_group
  • ad_status
  • ad_status_detail
2 functions implement hook_simpleads_stats_info()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

simpleads_campaigns_simpleads_stats_info in modules/simpleads_campaigns/simpleads_campaigns.module
Implements hook_simpleads_stats_info().
simpleads_simpleads_stats_info in ./simpleads.module
Implements hook_simpleads_stats_info().
1 invocation of hook_simpleads_stats_info()
_simpleads_stats_info in includes/simpleads.helper.inc
Helper function. Adds additional information to statistics page.

File

./simpleads.api.php, line 50
SimpleAds API.

Code

function hook_simpleads_stats_info($node, $op) {
  if ($op == 'list') {
    return array(
      'Item on the ads listing page',
    );
  }
}