function properties_template_load in Dynamic properties 7
Load a template based on the provided name.
Parameters
$name: Template name.
4 calls to properties_template_load()
- PropertiesTemplateBaseTestCase::createTemplate in properties_template/
properties_template.test - Create a template with categories through the administration interface.
- PropertiesTemplateTestCase::testAdministration in properties_template/
properties_template.test - Creates two different categories, adds them to a template and checks if the data is correctly displayed and stored.
- PropertiesTemplateTestCase::testExportAsTemplate in properties_template/
properties_template.test - Test for exporting a content as template.
- properties_template_submit_select_template in properties_template/
properties_template.module - Submit callback to add categories of a template to the form.
1 string reference to 'properties_template_load'
- properties_template_admin_templates_form in properties_template/
properties_template.admin.inc - Form builder; Add/Edit form for templates.
File
- properties_template/
properties_template.module, line 97 - This module implements the template functionality for properties.
Code
function properties_template_load($name) {
if (empty($name)) {
return FALSE;
}
$function_name = _properties_get_call('template', 'load');
return $function_name($name);
}