Elgg  Version 1.12
deprecated-1.12.php
Go to the documentation of this file.
1 <?php
2 
3 
25 function set_template_handler($function_name) {
26  elgg_deprecated_notice("Support for custom template handlers will end soon.", "1.12");
28 
29  if (is_callable($function_name)) {
30  $CONFIG->template_handler = $function_name;
31  return true;
32  }
33  return false;
34 }
35 
53  elgg_deprecated_notice(__FUNCTION__ . " is going away in 2.0.", "1.12");
54  return _elgg_services()->views->getViewLocation($view, $viewtype);
55 }
$view
Definition: crop.php:68
_elgg_services()
Definition: autoloader.php:14
global $CONFIG
elgg_deprecated_notice($msg, $dep_version, $backtrace_level=1)
Log a notice about deprecated use of a function, view, etc.
Definition: elgglib.php:1031
elgg global
Pointer to the global context.
Definition: elgglib.js:12
set_template_handler($function_name)
Registers a function to handle templates.
elgg_get_view_location($view, $viewtype= '')
Get the views/ directory in which the view might (or might not) be found.
$viewtype
Definition: start.php:86