VbzCart/v1/class/vcCartDataManager/GetRecipObject
< VbzCart | v1/class | vcCartDataManager
Jump to navigation
Jump to search
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;
}