VbzCart/v1/class/vcCartDataManager/GetBuyerObject

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< VbzCart‎ | v1/class‎ | vcCartDataManager
Revision as of 11:34, 18 April 2019 by Woozle (talk | contribs) (Created page with "{{page/code/class/method}} ==about== '''Purpose''': returns {{l/version|class|vcCartData_Buyer}}, creating it if needed ==called by== * $this->'''{{l/same|RenderShippingPage}}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

about

Purpose: returns vcCartData_Buyer, creating it if needed

called by

code

    private $oBuyer = NULL;
    // PUBLIC so the shopping cart object can access
    public function GetBuyerObject() {
	if (is_null($this->oBuyer)) {
	    $this->oBuyer = new vcCartData_Buyer($this->GetFormObject());
	}
	return $this->oBuyer;
    }