VbzCart/docs/v1/class/vcCartDataManager/GetBuyerObject
< VbzCart | docs | v1/class | vcCartDataManager
Jump to navigation
Jump to search
Template:Page/code/class/method
about
Purpose: returns Template:L/version, creating it if needed
called by
- $this->RenderShippingPage()
- $this->CaptureShippingPage(array $arStat)
- $this->RenderBillingPage()
- $this->CaptureBillingPage()
- $this->UpdateBlobs()
- Template:L/version/method(Template:L/version $rcOrder)
- Template:L/version/method()
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;
}