PAGE Methods
Including templates and objects
content(), module(), object()Request content via AJAX
collect(), complete(), elements(), element()Insert code (CSS, JS, HTML)
style(), script(), meta(), bottom(), tracking()Template data
directory(), views(), details(), preview(), charset(), language(), error()Reading and writing META data
title(), topic(), descr(), claim(), robots(), keywords()HTTP header
mime(), status(), expires(), header(), download()
module()
Creates an instance of an imported module. Use this function to include modules inside your templates.
object module( string ident )
Return
The module's object.
Parameter
Description
identThe alias of an imported module.
Create module's instance
$TEST = $PAGE->module("empty")
RETURN: [OBJECT]
Run module's function
$TEST->test()
RETURN: 'testvalue'