headerRedirect()
protected final function headerRedirect($link)
This takes the Visitor to a different url, either using an actual header redirect, or by using JavaScript if your Plugin is reloading via AJAX.
Can be used in your plugin's init()
method, from Zenario 7.0.0 onwards.
$link
A URL to go to.
$this->headerRedirect($this->linkToItem($cID, $cType, true));
Redirect to a Content Item.