redirect Function

Redirects the user to the URL of the specifed page.

Summary

ElementFunction
ReturnsObject

Arguments

nameString[required] The name of the page.

Example

PageType.redirect('home');
CodeMessageLineFile
2count(): Parameter must be an array or an object that implements Countable224/home2/ptorg/public_html/pagetype/content/pages/en/docml.viewer.php