function getCopyOrderLink() { if ($this->canView() && $this->IsSubmitted()) { return ShoppingCart_Controller::copy_order_link($this->ID); } else { return ""; } }