[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/google_analytics/ -> googleanalytics.module (summary)

(no description)

File Size: 567 lines (21 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 17 functions

  googleanalytics_help()
  googleanalytics_theme()
  googleanalytics_perm()
  googleanalytics_menu()
  googleanalytics_init()
  googleanalytics_footer()
  googleanalytics_user()
  googleanalytics_cron()
  googleanalytics_preprocess_search_results()
  _googleanalytics_cache()
  googleanalytics_clear_js_cache()
  _googleanalytics_visibility_user()
  _googleanalytics_visibility_roles()
  _googleanalytics_visibility_pages()
  _googleanalytics_visibility_header()
  googleanalytics_token_values()
  googleanalytics_token_list()

Functions
Functions that are not part of a class:

googleanalytics_help($path, $arg)   X-Ref
Implementation of hook_help().


googleanalytics_theme()   X-Ref
Implementation of hook_theme().


googleanalytics_perm()   X-Ref
Implementation of hook_perm().


googleanalytics_menu()   X-Ref
Implementation of hook_menu().


googleanalytics_init()   X-Ref
Implementation of hook_init().


googleanalytics_footer($main = 0)   X-Ref
Implementation of hook_footer() to insert JavaScript at the end of the page.


googleanalytics_user($type, $edit, &$account, $category = NULL)   X-Ref
Implementation of hook_user().

Allow users to decide if tracking code will be added to pages or not.

googleanalytics_cron()   X-Ref
Implementation of hook_cron().


googleanalytics_preprocess_search_results(&$variables)   X-Ref
Implementation of hook_preprocess_search_results().

Collects the number of search results. It need to be noted, that this
function is not executed if the search result is empty.

_googleanalytics_cache($location, $sync_cached_file = FALSE)   X-Ref
Download/Synchronize/Cache tracking code file locally.

param: $location
param: $sync_cached_file
return: mixed

googleanalytics_clear_js_cache()   X-Ref
Delete cached files and directory.


_googleanalytics_visibility_user($account)   X-Ref
Tracking visibility check for an user object.

param: $account
return: boolean

_googleanalytics_visibility_roles($account)   X-Ref
Based on visibility setting this function returns TRUE if GA code should
be added for the current role and otherwise FALSE.


_googleanalytics_visibility_pages()   X-Ref
Based on visibility setting this function returns TRUE if GA code should
be added to the current page and otherwise FALSE.


_googleanalytics_visibility_header($account)   X-Ref
Based on headers send by clients this function returns TRUE if GA code should
be added to the current page and otherwise FALSE.


googleanalytics_token_values($type, $object = NULL, $options = array()   X-Ref
Implementation of hook_token_values().


googleanalytics_token_list($type = 'all')   X-Ref
Implementation of hook_token_list().




Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7