ShoppOrder ( &$Object ) @param ORder (optional) $Object the Order object to set to the global context. @return mixed if the global Order context isn't set, boolean false will be returned, otherwise the global Order object will be returned
Get and set the global Order object responsible for controlling and managing the ordering process.
// Get the current shopping session order, if it exists $Order = ShoppOrder();
// Set a new Order instance as the global instance and store it as a Shopping session object $Order = ShoppOrder( ShoppingObject::__new( 'Order', ShoppOrder() ) )