VbzCart/v1/class/vcCartDataManager/GetRecipObject
< VbzCart | v1/class | vcCartDataManager
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
about
Purpose: returns vcCartData_Recip, creating it if needed
called by
- $this->RenderShippingPage()
- $this->CaptureShippingPage(array $arStat)
- $this->UpdateBlobs()
- vcrCart::ToOrder_Data(vcrOrder $rcOrder)
code
private $oRecip = NULL;
// PUBLIC so the shopping cart object can access
public function GetRecipObject() {
if (is_null($this->oRecip)) {
$this->oRecip = new vcCartData_Recip($this->GetFormObject());
}
return $this->oRecip;
}