init() public method

public init ( )
 /**
  * Return an instance of {@link ShoppingCart_Controller}
  * so that we can show a cart template across the site.
  * 
  * @return object ShoppingCart object
  */
 public function Cart()
 {
     $cart = new ShoppingCart_Controller();
     $cart->init();
     return $cart;
 }