VbzCart/docs/v1/class/vcPageContent ckout/GetPageKey forData

From Woozle Writes Code
< VbzCart‎ | docs‎ | v1/class‎ | vcPageContent ckout
Revision as of 01:58, 25 February 2024 by Woozle (talk | contribs) (Woozle moved page VbzCart/VbzCart/v1/class/vcPageContent ckout/GetPageKey forData to VbzCart/docs/v1/class/vcPageContent ckout/GetPageKey forData without leaving a redirect: part 5/5)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Page/code/class/method

Calls

Code

    /*----
      HISTORY:
	2016-03-27 Making this read-only - it gets the string from $_POST by itself,
	  and does any necessary defaulting
	  Also making protected until we know who else needs it.
	2018-07-22 Moved from Page class to Content class.
    */
    protected function GetPageKey_forData() {
	// KSQ_PAGE_CART is the default - it's the only page that doesn't identify itself
	return fcHTTP::Request()->GetString(KSQ_ARG_PAGE_DATA,KSQ_PAGE_CART);
    }