| 
    Elgg
    Version 1.12
    
   | 
 
Go to the source code of this file.
Functions | |
| set_template_handler ($function_name) | |
| Registers a function to handle templates.  More... | |
| elgg_get_view_location ($view, $viewtype='') | |
| Get the views/ directory in which the view might (or might not) be found.  More... | |
| elgg_get_view_location | ( | $view, | |
$viewtype = ''  | 
        |||
| ) | 
Get the views/ directory in which the view might (or might not) be found.
E.g. elgg_get_view_location('foo.css') might return "/path/to/mod/example/views/" but the view file itself may be at "default/foo.css" or "default/foo.css.php" within that. The function might return the core views/ directory if it doesn't know anything about the view.
| string | $view | The view. | 
| string | $viewtype | The viewtype | 
Definition at line 52 of file deprecated-1.12.php.
| set_template_handler | ( | $function_name | ) | 
Registers a function to handle templates.
Alternative template handlers can be registered to handle all output functions. By default, elgg_view() will simply include the view file. If an alternate template handler is registered, the view name and passed $vars will be passed to the registered function, which is then responsible for generating and returning output.
Template handlers need to accept two arguments: string $view_name and array $vars.
| string | $function_name | The name of the function to pass to. | 
Definition at line 25 of file deprecated-1.12.php.