DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

J has posted 6 posts at DZone. View Full User Profile

CiviCRM payment_instrument id to name mapping

  • submit to reddit
// Get information about payment_instrument - map from id to name
$instruments = array();
CRM_Core_OptionGroup::getAssoc('payment_instrument', $instruments, true);