LemonStand Documentation

Phpr_Response

The Phpr_Response class represents the server HTTP response. This class is a part of the PHP framework which LemonStand is built on. The instance of this class is always available through the Phpr class, so you never need to create instances of this class manually. The only method which can be helpful for you for implementing websites based on LemonStand is the redirect method.

Class methods

  • redirect($url) - redirects the browser to a specific URL. Example:
    Phpr::$response->redirect('/checkout_order_preview');

Next: Cms_VisitorPreferences
Previous: Shop_Order
Return to Reference

Comments

No comments posted so far.

Add your comment

Loading form...