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) »
  • getCustomValue
Pages: [1]

Author Topic: getCustomValue  (Read 1249 times)

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
getCustomValue
May 20, 2008, 11:02:08 pm
Is there a replacement for the getCustomValue function in CRM/Core/BAO/CustomValue.php? I'm assuming it was deprecated in 2.0 with the restructuring of the Custom Data tools.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: getCustomValue
May 21, 2008, 12:52:10 am

your best bet would be to use

CRM_Core_BAO_CustomValueTable::getEntityValues (line 272)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

chrism

  • Guest
Re: getCustomValue
May 25, 2008, 11:44:21 am
I had trouble finding that function as well, so updated documentation to make it easier for others.
http://issues.civicrm.org/jira/browse/CRM-3148

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • getCustomValue

This forum was archived on 2017-11-26.