<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=VbzCart%2Fv1%2Fclass%2FvcPageContent_ckout%2FCapturePage</id>
	<title>VbzCart/v1/class/vcPageContent ckout/CapturePage - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=VbzCart%2Fv1%2Fclass%2FvcPageContent_ckout%2FCapturePage"/>
	<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=VbzCart/v1/class/vcPageContent_ckout/CapturePage&amp;action=history"/>
	<updated>2026-06-27T06:32:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://htyp.org/mw/index.php?title=VbzCart/v1/class/vcPageContent_ckout/CapturePage&amp;diff=24863&amp;oldid=prev</id>
		<title>Woozle at 00:57, 22 April 2019</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=VbzCart/v1/class/vcPageContent_ckout/CapturePage&amp;diff=24863&amp;oldid=prev"/>
		<updated>2019-04-22T00:57:29Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:57, 22 April 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot;&gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** {{l/version/method|vcPageContent_ckout|ProcessPage}}() [protected], which calls...&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** {{l/version/method|vcPageContent_ckout|ProcessPage}}() [protected], which calls...&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*** {{hilite|{{l/version/method|vcPageContent_ckout|CapturePage}}() [protected]}}, which calls...&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*** {{hilite|{{l/version/method|vcPageContent_ckout|CapturePage}}() [protected]}}, which calls...&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;**** {{l/version/method|vcPageContent_ckout|CaptureBilling}}()&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;**** {{l/version/method|vcPageContent_ckout|CaptureBilling}}()&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, which is essentially a shortcut to...&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;***** {{l/version/method|vcCartDataManager|CaptureBillingPage}}()&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;***** {{l/version/method|vcCartDataManager|CaptureBillingPage}}()&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;**** {{l/version/method|vcPageContent_ckout|CaptureCart}}() [protected]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;**** {{l/version/method|vcPageContent_ckout|CaptureCart}}() [protected]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l11&quot;&gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Code==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Code==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=php&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=php&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    &lt;/del&gt;/*----&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;/*----&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       ACTION: receives form input and determines where to save it&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       ACTION: receives form input and determines where to save it&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	enforces form rules -- mainly, don&amp;#039;t allow advance until all required fields are filled in&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	enforces form rules -- mainly, don&amp;#039;t allow advance until all required fields are filled in&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l19&quot;&gt;Line 19:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 19:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	* sets $this-&amp;gt;DidRequestAdvance()&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	* sets $this-&amp;gt;DidRequestAdvance()&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       REQUIRES: Input needs to have been parsed so we know what page&amp;#039;s data we&amp;#039;re capturing&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       REQUIRES: Input needs to have been parsed so we know what page&amp;#039;s data we&amp;#039;re capturing&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    &lt;/del&gt;*/&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*/&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    &lt;/del&gt;protected function CapturePage() {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;protected function CapturePage() {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	$sPKeyData = $this-&amp;gt;GetPageKey_forData();&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	$sPKeyData = $this-&amp;gt;GetPageKey_forData();&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l85&quot;&gt;Line 85:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 85:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	return $out;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	return $out;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    &lt;/del&gt;}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
	<entry>
		<id>https://htyp.org/mw/index.php?title=VbzCart/v1/class/vcPageContent_ckout/CapturePage&amp;diff=24854&amp;oldid=prev</id>
		<title>Woozle: Created page with &quot;{{page/code/class/method}} ==Call Chains== * {{l/version/method|vcPageContent_ckout|OnRunCalculations}}() [protected; events system] calls... ** {{l/version/method|vcPageConte...&quot;</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=VbzCart/v1/class/vcPageContent_ckout/CapturePage&amp;diff=24854&amp;oldid=prev"/>
		<updated>2019-04-21T20:17:22Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{page/code/class/method}} ==Call Chains== * {{l/version/method|vcPageContent_ckout|OnRunCalculations}}() [protected; events system] calls... ** {{l/version/method|vcPageConte...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{page/code/class/method}}&lt;br /&gt;
==Call Chains==&lt;br /&gt;
* {{l/version/method|vcPageContent_ckout|OnRunCalculations}}() [protected; events system] calls...&lt;br /&gt;
** {{l/version/method|vcPageContent_ckout|ProcessPage}}() [protected], which calls...&lt;br /&gt;
*** {{hilite|{{l/version/method|vcPageContent_ckout|CapturePage}}() [protected]}}, which calls...&lt;br /&gt;
**** {{l/version/method|vcPageContent_ckout|CaptureBilling}}()&lt;br /&gt;
***** {{l/version/method|vcCartDataManager|CaptureBillingPage}}()&lt;br /&gt;
**** {{l/version/method|vcPageContent_ckout|CaptureCart}}() [protected]&lt;br /&gt;
**** {{l/version/method|vcPageContent_ckout|CaptureShipping}}() [protected], which calls...&lt;br /&gt;
***** {{l/version/method|vcCartDataManager|CaptureShippingPage}}() [public]&lt;br /&gt;
==Code==&lt;br /&gt;
&amp;lt;source lang=php&amp;gt;&lt;br /&gt;
    /*----&lt;br /&gt;
      ACTION: receives form input and determines where to save it&lt;br /&gt;
	enforces form rules -- mainly, don&amp;#039;t allow advance until all required fields are filled in&lt;br /&gt;
      OUTPUT:&lt;br /&gt;
	* logs Cart event recording which page&amp;#039;s form was received&lt;br /&gt;
	* sets $this-&amp;gt;PageKey_forShow()&lt;br /&gt;
	* sets $this-&amp;gt;DidRequestAdvance()&lt;br /&gt;
      REQUIRES: Input needs to have been parsed so we know what page&amp;#039;s data we&amp;#039;re capturing&lt;br /&gt;
    */&lt;br /&gt;
    protected function CapturePage() {&lt;br /&gt;
	$sPKeyData = $this-&amp;gt;GetPageKey_forData();&lt;br /&gt;
&lt;br /&gt;
	// log as system event&lt;br /&gt;
	/*&lt;br /&gt;
	$arEv = array(&lt;br /&gt;
	  fcrEvent::KF_CODE		=&amp;gt; &amp;#039;CK-PG-REQ&amp;#039;,	// checkout page request&lt;br /&gt;
	  fcrEvent::KF_DESCR_START	=&amp;gt; &amp;#039;saving data from page &amp;#039;.$sPKeyData,&lt;br /&gt;
	  fcrEvent::KF_WHERE		=&amp;gt; &amp;#039;ckout.CapturePage&amp;#039;,&lt;br /&gt;
	  fcrEvent::KF_PARAMS		=&amp;gt; array(&lt;br /&gt;
	    &amp;#039;pgData&amp;#039;	=&amp;gt; $sPKeyData,&lt;br /&gt;
	    &amp;#039;pgShow&amp;#039;	=&amp;gt; $this-&amp;gt;GetPageKey_forShow()&lt;br /&gt;
	    )&lt;br /&gt;
	  );&lt;br /&gt;
	*/&lt;br /&gt;
	&lt;br /&gt;
	// log cart progress&lt;br /&gt;
	$arEv = array(&lt;br /&gt;
	    &amp;#039;pgData&amp;#039;	=&amp;gt; $sPKeyData,&lt;br /&gt;
	    &amp;#039;pgShow&amp;#039;	=&amp;gt; $this-&amp;gt;GetPageKey_forShow()&lt;br /&gt;
	    );&lt;br /&gt;
	$rcCart = $this-&amp;gt;GetCartRecord();&lt;br /&gt;
	$rcSysEv = $rcCart-&amp;gt;CreateEvent(&lt;br /&gt;
	  &amp;#039;CK-PG-REQ&amp;#039;,				// CODE: checkout page request&lt;br /&gt;
	  &amp;#039;saving data from page &amp;#039;.$sPKeyData,	// TEXT&lt;br /&gt;
	  $arEv					// DATA&lt;br /&gt;
	  );&lt;br /&gt;
	  &lt;br /&gt;
	// DEBUGGING&lt;br /&gt;
	//echo &amp;quot;PAGE KEY FOR DATA = [$sPKeyData]&amp;lt;br&amp;gt;&amp;quot;;&lt;br /&gt;
	//$arStat = $this-&amp;gt;GetFormObject()-&amp;gt;Receive($_POST);&lt;br /&gt;
&lt;br /&gt;
	$out = NULL;	// no processing needed&lt;br /&gt;
	switch ($sPKeyData) {&lt;br /&gt;
	  case KSQ_PAGE_CART:	// shopping cart&lt;br /&gt;
	    $out = $this-&amp;gt;CaptureCart();&lt;br /&gt;
	    $this-&amp;gt;formSeqData = KI_SEQ_CART;	// 0&lt;br /&gt;
	    break;&lt;br /&gt;
	  case KSQ_PAGE_SHIP:	// shipping information&lt;br /&gt;
	    $out = $this-&amp;gt;CaptureShipping();&lt;br /&gt;
	    $this-&amp;gt;formSeqData = KI_SEQ_SHIP;	// 1&lt;br /&gt;
	    break;&lt;br /&gt;
	  case KSQ_PAGE_PAY:	// billing information&lt;br /&gt;
	    $out = $this-&amp;gt;CaptureBilling();&lt;br /&gt;
	    $this-&amp;gt;formSeqData = KI_SEQ_PAY;	// 2&lt;br /&gt;
	    break;&lt;br /&gt;
	  case KSQ_PAGE_CONF:	// confirmation&lt;br /&gt;
	    $out = NULL;	// no processing needed&lt;br /&gt;
	    $this-&amp;gt;formSeqData = KI_SEQ_CONF;	// 3&lt;br /&gt;
	    break;&lt;br /&gt;
	  default:&lt;br /&gt;
	    $this-&amp;gt;formSeqData = NULL;&lt;br /&gt;
	    // more likely to be a hacking attempt than an internal error:&lt;br /&gt;
	    $out = &amp;quot;Cannot save data from unknown page [$sPKeyData]&amp;quot;;&lt;br /&gt;
	    $arEv = array(&lt;br /&gt;
	      fcrEvent::KF_DESCR_FINISH	=&amp;gt; &amp;#039;page not recognized&amp;#039;,&lt;br /&gt;
	      fcrEvent::KF_IS_ERROR	=&amp;gt; TRUE,&lt;br /&gt;
	      );&lt;br /&gt;
	    $rcSysEv-&amp;gt;Finish($arEv);&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	$rcCart-&amp;gt;UpdateBlob();&lt;br /&gt;
	$this-&amp;gt;GetFormObject()-&amp;gt;Save();&lt;br /&gt;
&lt;br /&gt;
	return $out;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
</feed>