VbzCart/docs/v1/class/vcCartDataManager/GetRecipObject: Difference between revisions

From Woozle Writes Code
Jump to navigation Jump to search
imported>Woozle
(Created page with "{{page/code/class/method}} ==about== '''Purpose''': returns {{l/version|class|vcCartData_Recip}}, creating it if needed ==called by== * $this->'''{{l/same|RenderShippingPage}}...")
 
 
(No difference)

Latest revision as of 01:58, 25 February 2024

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