You are here

function certificate_theme in Certificate 6

Same name and namespace in other branches
  1. 8.3 certificate.module \certificate_theme()
  2. 6.2 certificate.module \certificate_theme()
  3. 7.3 certificate.module \certificate_theme()
  4. 7.2 certificate.module \certificate_theme()
  5. 3.x certificate.module \certificate_theme()

Implementation of hook_theme().

Returns information about every themable function defined by the module.

File

./certificate.module, line 318
Certificate module.

Code

function certificate_theme() {
  $items = array();
  $items['certificate_history_form'] = array(
    'arguments' => array(
      'form' => array(),
    ),
    'file' => 'certificate.admin.inc',
  );

  // Keep for now - we may want to theme the output specifically for Moodle.
  $items['certificate_certificate'] = array(
    'arguments' => array(
      'certificate' => array(),
    ),
    'file' => 'certificate.pages.inc',
  );
  $items['certificate_admin_clear_form'] = array(
    'arguments' => array(
      'form' => NULL,
    ),
    'file' => 'certificate.admin.inc',
  );
  return $items;
}