You are here

public static function wf_crm_admin_help::helpIcon in Webform CiviCRM Integration 7.4

Same name and namespace in other branches
  1. 7.5 includes/wf_crm_admin_help.inc \wf_crm_admin_help::helpIcon()
2 calls to wf_crm_admin_help::helpIcon()
wf_crm_admin_help::addHelp in includes/wf_crm_admin_help.inc
Add Civi help icon to a FAPI field
_webform_edit_civicrm_contact in includes/contact_component.inc
Implements _webform_edit_component().

File

includes/wf_crm_admin_help.inc, line 527
Admin form inline-help.

Class

wf_crm_admin_help
Class wf_crm_admin_help Adding a static function to this class with the same name as a field will magically add pop-up help for that field to the admin form.

Code

public static function helpIcon($topic, $title) {
  return '<span class="crm-container"><a class="helpicon" href="#' . $topic . '" title="' . $title . '">&nbsp;</a></span>';
}