function phptemplate_theme

cis7 phptemplate.engine phptemplate_theme($existing, $type, $theme, $path)
cle7 phptemplate.engine phptemplate_theme($existing, $type, $theme, $path)
elmsmedia7 phptemplate.engine phptemplate_theme($existing, $type, $theme, $path)
icor7 phptemplate.engine phptemplate_theme($existing, $type, $theme, $path)
meedjum_blog7 phptemplate.engine phptemplate_theme($existing, $type, $theme, $path)
mooc7 phptemplate.engine phptemplate_theme($existing, $type, $theme, $path)

Implements hook_theme().

File

themes/engines/phptemplate/phptemplate.engine, line 21
Handles integration of PHP templates with the Drupal theme system.

Code

function phptemplate_theme($existing, $type, $theme, $path) {
  $templates = drupal_find_theme_functions($existing, array($theme));
  $templates += drupal_find_theme_templates($existing, '.tpl.php', $path);
  return $templates;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.