VbzCart/v1/class/vcCartDataManager/GetRecipObject
from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
{{#set:in project=VbzCart}}{{#set:thing type=VbzCart/class method}}{{#set:class name=vcCartDataManager}}{{#set:function name=GetRecipObject}}{{#set:version=v1}}
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;
}
