Difference between revisions of "VbzCart/v1/class/vcCartDataManager/GetBuyerObject"
< VbzCart | v1/class | vcCartDataManager
Jump to navigation
Jump to search
(Created page with "{{page/code/class/method}} ==about== '''Purpose''': returns {{l/version|class|vcCartData_Buyer}}, creating it if needed ==called by== * $this->'''{{l/same|RenderShippingPage}}...") |
(No difference)
|
Latest revision as of 11:34, 18 April 2019
about
Purpose: returns vcCartData_Buyer, creating it if needed
called by
- $this->RenderShippingPage()
- $this->CaptureShippingPage(array $arStat)
- $this->RenderBillingPage()
- $this->CaptureBillingPage()
- $this->UpdateBlobs()
- vcrCart::ToOrder_Data(vcrOrder $rcOrder)
- vcrOrder::TemplateVars()
code
private $oBuyer = NULL;
// PUBLIC so the shopping cart object can access
public function GetBuyerObject() {
if (is_null($this->oBuyer)) {
$this->oBuyer = new vcCartData_Buyer($this->GetFormObject());
}
return $this->oBuyer;
}