VbzCart/docs/v1/class/vcCartDataManager/GetRecipObject

From Woozle Writes Code
Jump to navigation Jump to search

Template:Page/code/class/method

about

Purpose: returns Template:L/version, creating it if needed

called by

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;
    }