CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • get values of contribution PAGE (API)
Pages: [1]

Author Topic: get values of contribution PAGE (API)  (Read 1077 times)

alextronic

  • I post occasionally
  • **
  • Posts: 57
  • Karma: 2
  • I do what I do
get values of contribution PAGE (API)
April 09, 2009, 01:09:10 pm
Hi,

I was dumb enough to think that the civicrm_contribution_get function would return the input values for a contribution PAGE, but when I got the snippet to work I realized that I was getting values from a user's specific contribution.

My question now is, how can I get the values for a contribution PAGE? Is that possible?  ???

Thanks so much
Alex

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: get values of contribution PAGE (API)
April 09, 2009, 02:12:41 pm
alextronic:

I dont think there is an api function for that but u can use
Code: [Select]
CRM_Core_DAO::commonRetrieve( 'CRM_Contribute_DAO_ContributionPage', $params, $values );to get values if u provide the criteria in $params you get the result in $values

hth
-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

alextronic

  • I post occasionally
  • **
  • Posts: 57
  • Karma: 2
  • I do what I do
Re: get values of contribution PAGE (API)
April 10, 2009, 04:20:11 pm
Thank you Yashodha, it worked!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • get values of contribution PAGE (API)

This forum was archived on 2017-11-26.