VbzCart/docs/v1/class/vcCartDataManager/GetBuyerObject: Difference between revisions
< VbzCart | docs | v1/class | vcCartDataManager
Jump to navigation
Jump to search
imported>Woozle (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}}...") |
m (Woozle moved page VbzCart/VbzCart/v1/class/vcCartDataManager/GetBuyerObject to VbzCart/docs/v1/class/vcCartDataManager/GetBuyerObject without leaving a redirect: part 5/5) |
(No difference)
|
Latest revision as of 01:57, 25 February 2024
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;
}