You are here

Functions in Paypal Donation 7

Primary tabs

Namesort descending Location Description Direct uses Strings
paypal_donate_access ./paypal_donate.module Determine if the given user has access to this given object. (System hook)
paypal_donate_form ./paypal_donate.module This function returns the form that will displayed on the content creation page.
paypal_donate_form_alter ./paypal_donate.module Slight ateration to make the email field required.
paypal_donate_install ./paypal_donate.install This hook is triggered when the paypal donate module is being installed. This function will run only once and gives us the possibility to install the a required table in the database.
paypal_donate_node_info ./paypal_donate.module Sets the information about the content-type so Drupal can display it on the create content page.
paypal_donate_permission ./paypal_donate.module Returns a list of permissions that can be used for this module.
paypal_donate_theme ./paypal_donate.module Define all themes used in this module. These theme items can be used in the module here using the theme function.
paypal_donate_uninstall ./paypal_donate.install This hook is triggered when the paypal donate module is being uninstalled. This function will run only once and gives us the possibility to remove the a required table in the database. 1
paypal_donate_view ./paypal_donate.module This function is called with every node event. In this case we use this function to render the Paypal form on the user side of the website (So on watching the content). It will precent the Paypal button for users to donate money to the website.
paypal_donate_view_paypalform ./paypal_donate.module This function is a wrapper to populate the node content by calling the theme function 1
_paypal_donate_installed_fields ./paypal_donate.install Return a structured array defining the fields created by this content type. 2

Other projects