You are here

function certificate_get_selected_type in Certificate 6

Get certificate type field.

Return value

the machine readable field name.

2 calls to certificate_get_selected_type()
certificate_get_selected_type_options in ./certificate.module
Get certificate type field options.
certificate_single in ./certificate.pages.inc
Generate a single certificate.

File

./certificate.module, line 377
Certificate module.

Code

function certificate_get_selected_type() {

  // Get selected field.
  return variable_get('certificate_field_certificate_type', 0);
}