
Public Member Functions | |
| getDescription () | |
| getDisplayName () | |
| getEnabled () | |
| getManagementVerbs () | |
| getName () | |
| insertFooter ($hookName, $params) | |
| manage ($verb, $args) | |
| register ($category, $path) | |
| setBreadcrumbs ($isSubclass=false) | |
| setEnabled ($enabled) | |
| smartyPluginUrl ($params, &$smarty) | |
Definition at line 20 of file GoogleAnalyticsPlugin.inc.php.
| GoogleAnalyticsPlugin.getDescription | ( | ) |
Get a description of this plugin.
Reimplemented from Plugin.
Definition at line 68 of file GoogleAnalyticsPlugin.inc.php.
References Locale.translate().
| GoogleAnalyticsPlugin.getDisplayName | ( | ) |
Get the display name for this plugin.
Reimplemented from Plugin.
Definition at line 64 of file GoogleAnalyticsPlugin.inc.php.
References Locale.translate().
| GoogleAnalyticsPlugin.getEnabled | ( | ) |
Determine whether or not this plugin is enabled.
Definition at line 143 of file GoogleAnalyticsPlugin.inc.php.
References Request.getJournal().
Referenced by getManagementVerbs(), insertFooter(), and manage().
| GoogleAnalyticsPlugin.getManagementVerbs | ( | ) |
Display verbs for the management interface.
Reimplemented from Plugin.
Definition at line 120 of file GoogleAnalyticsPlugin.inc.php.
References getEnabled(), and Locale.translate().
| GoogleAnalyticsPlugin.getName | ( | ) |
Get the name of this plugin. The name must be unique within its category, and should be suitable for part of a filename (ie short, no spaces, and no dependencies on cases being unique).
Reimplemented from Plugin.
Definition at line 60 of file GoogleAnalyticsPlugin.inc.php.
Referenced by smartyPluginUrl().
| GoogleAnalyticsPlugin.insertFooter | ( | $ | hookName, | |
| $ | params | |||
| ) |
Insert Google Analytics page tag to footer
Definition at line 164 of file GoogleAnalyticsPlugin.inc.php.
References getEnabled(), Request.getJournal(), and TemplateManager.getManager().
| GoogleAnalyticsPlugin.manage | ( | $ | verb, | |
| $ | args | |||
| ) |
Perform management functions
Reimplemented from Plugin.
Definition at line 193 of file GoogleAnalyticsPlugin.inc.php.
References getEnabled(), Request.getJournal(), TemplateManager.getManager(), Request.getUserVar(), Request.redirect(), and setEnabled().
| GoogleAnalyticsPlugin.register | ( | $ | category, | |
| $ | path | |||
| ) |
Called as a plugin is registered to the registry
| $category | String Name of category plugin was registered to |
Reimplemented from Plugin.
Definition at line 28 of file GoogleAnalyticsPlugin.inc.php.
References Plugin.addLocaleData(), Config.getVar(), and HookRegistry.register().
| GoogleAnalyticsPlugin.setBreadcrumbs | ( | $ | isSubclass = false |
) |
Set the page's breadcrumbs, given the plugin's tree of items to append.
| $subclass | boolean |
Definition at line 97 of file GoogleAnalyticsPlugin.inc.php.
References TemplateManager.getManager(), and Request.url().
| GoogleAnalyticsPlugin.setEnabled | ( | $ | enabled | ) |
Set the enabled/disabled state of this plugin
Definition at line 152 of file GoogleAnalyticsPlugin.inc.php.
References Request.getJournal(), and Plugin.updateSetting().
Referenced by manage().
| GoogleAnalyticsPlugin.smartyPluginUrl | ( | $ | params, | |
| &$ | smarty | |||
| ) |
Extend the {url ...} smarty to support this plugin.
Reimplemented from Plugin.
Definition at line 75 of file GoogleAnalyticsPlugin.inc.php.
References Plugin.getCategory(), and getName().
1.5.6