Entities

Campaign Entity

  • getBannerImage (banner_image_url)

    Returns link.

  • getDescriptionShort (description_short)

  • getDescription (description)

  • getCampaignAmountCurrent (campaign_amount_current)

    Returns currency amount.

  • getCampaignGoal (campaign_goal)

  • getCurrency (currency)

    Returns three-letter currency code (<http://www.xe.com/iso4217.php>_\

  • getStartDate (start_date)

  • getDuration (duration)

Donor Entity

  • getDonorID (donor_id; auto_increment)

  • getUserID() (uid)

    Drupal User: user id

    Non-drupal user: blank

  • getLastName() (last_name)

  • getFirstName() (first_name)

  • (Add more fields here.)

Primary Index

  • field_donor_id

Secondary Indices

  • uid

  • field_last_name

Donation Entity

  • getDonationID() (donation_id; auto increment)

  • getDonorID() (donor_id)

  • getUserID() (uid)

  • getAmount() (amount)

  • getCurrency() (currency)

    Returns three-lette

Primary Index

  • field_donation_id

Secondary Indices

  • field_donor_id

  • uid

Update Entity

  • getUpdateID() (update_id; auto increment)

  • getDonorID() (donor_id)

  • getNote() (note)

CampaignController

  • getDonorListWithCampaignID()

    Return list of donors obtained in real time from GF (call GF API)

  • getDonationListWithCampaignID() Return list of Donation entities obtained in real time from GF (call GF API). Convert JSON response from GivingFuel into Donation entities.

  • getDonationWithID() Return donation amount, currency for a specific donation (call GF API)

  • getDonorWithID() Return donor name, amount for a specific donor (call GF API)

  • getUpdateList() Return a list of updates

  • getUpdateWithID() Return an update given an ID.

  • getCampaignWithCampaignID() Return the campaign name, description and goal amount from GF.

  • donationSuccessful()

Thank You page

  • getDescription() Description of campaign

  • getCampaignAmountCurrent() (campaign_current)

  • getCampaignGoal() (campaign_goal) Campaign goal.

Team Entity

  • getCampaignId (campaign_id)

  • getUserID() (uid)

    Drupal User: user id

    Non-drupal user: blank

Last updated