VbzCart/docs/v1/class/vcPageContent ckout/GetPageKey forData: Difference between revisions

From Woozle Writes Code
Jump to navigation Jump to search
imported>Woozle
(Created page with "{{page/code/class/method}} ==Code== <source lang=php> /*---- HISTORY: 2016-03-27 Making this read-only - it gets the string from $_POST by itself, and does any n...")
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{page/code/class/method}}
{{page/code/class/method}}
==Calls==
* {{l/version/method|vcPageContent_ckout|DetectPageRequest}}() calls
** {{l/version/method|vcPageContent_ckout|GetPageKey_forData}}()
* {{l/version/method|vcPageContent_ckout|HandlePageRequest}}() calls
** {{l/version/method|vcPageContent_ckout|GetPageKey_forData}}()
* {{l/version/method|vcPageContent_ckout|CapturePage}}() calls
** {{l/version/method|vcPageContent_ckout|GetPageKey_forData}}()
==Code==
==Code==
<source lang=php>
<source lang=php>

Latest revision as of 01:58, 25 February 2024

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