API results for “template”

101 to 125 of 145

InputfieldPage::getTemplateIDs(bool $getString = false) module.method
Return array or string of configured template IDs

InputfieldText::getConfigAllowContext(Field $field) module.method
Get array of field names allowed for field/template context

InputfieldSelector::getParentPages(Template $template) module.method
Get parent pages of pages using the given template

FieldtypeFieldsetTabOpen::getConfigAllowContext($field) module.method
Return an array of configuration field names from that are allowed in fieldgroup/template context

PageRender::renderPage(HookEvent $event) module.method
Return a string with the rendered output of this Page from its template file (other usages available as well)

ProcessPageEdit::processInputErrorAction(Page $page, $inputfield, string $name, $errorAction = null) module.method
Process required error actions as configured with page’s template

ProcessPageEdit::executeTemplate() module.method
Execute a template change for a page, building an info + confirmation form (handler for /template/ action)

ProcessPageEdit::executeSaveTemplate() module.method
Save a template change for a page (handler for /saveTemplate/ action)

ProcessPageEdit::isAllowedTemplate($id) module.method
Is the given template or template ID allowed here?

ProcessPageEdit::setPredefinedTemplates($templates) module.method
Set predefined allowed templates

ProcessPageType::executeTemplate() module.method
Execute the "change template" action delegated to ProcessPageEdit

ProcessPageType::executeSaveTemplate() module.method
Execute saving changes of the "change template" action delegated to ProcessPageEdit

ProcessPageAdd::executeNavJSON(array $options = []) module.method
Return list of addable templates and links to add them

ProcessPageAdd::executeTemplate() module.method
Ask user to select template and parent

ProcessPageAdd::renderChooseTemplate() module.method
Render an HTML definition list template selection for when no parent/template is known

ProcessPageAdd::setPredefinedTemplates($templates) module.method
Predefine the allowed templates, separately from family/auto-detect

processQuickAdd(Page $parent, Template $template) module.method

getAllowedTemplates($parent = null) module.method

ProcessField::executeSendTemplates() module.method
Execute send field to template(s)

ProcessField::executeSendTemplatesSave() module.method
Process the form from executeSendTemplates and redirect back to editor

ProcessField::allowFieldInTemplate(Field $field, Template $template) module.method
For hooks to modify if they want to specific prevent a field from being added to a template from here

ProcessTemplate::executeNavJSON(array $options = []) module.method
Output JSON list of navigation items for this (intended to for ajax use)

ProcessTemplate::execute() module.method
Execute the template list / default process

ProcessTemplate::getListFilterForm() module.method
@return InputfieldForm

ProcessTemplate::getListTable($templates) module.method
Get templates list table