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()
robots()
The robots meta tag is set for each domain individually in the backend's domain setup. It can also be changed for each page in the backend's content settings. This method allows you to rewrite the meta tag dynamically.
string robots([ string set ])
Return
Current robots setting
Parameter
Description
setRewrite robots setting
Set robots meta tag
$PAGE->robots("all")
RETURN: 'all'