-
Notifications
You must be signed in to change notification settings - Fork 63
Browser
Florian Voutzinos edited this page Oct 15, 2013
·
18 revisions
<?php
// Will create a context 'redshop.checkout' and browse the current uri
RBrowser::getInstance('redshop.checkout')->browse();
// Getting a browser instance
$browser = RBrowser::getInstance('redshop.checkout');
// Will remove the current browsed uri and return it
$lastUri = $browser->back();
// Get the last browsed view
$lastView = $browser->getLastView();
// Clear the browser history
$browser->clearHistory();redCORE documentation menu: