<?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%2FRenderContent</id>
	<title>VbzCart/v1/class/vcPageContent ckout/RenderContent - 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%2FRenderContent"/>
	<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=VbzCart/v1/class/vcPageContent_ckout/RenderContent&amp;action=history"/>
	<updated>2026-06-27T08:01:07Z</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/RenderContent&amp;diff=24856&amp;oldid=prev</id>
		<title>Woozle at 20:43, 21 April 2019</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=VbzCart/v1/class/vcPageContent_ckout/RenderContent&amp;diff=24856&amp;oldid=prev"/>
		<updated>2019-04-21T20:43:48Z</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 20:43, 21 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-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&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|Render}}() [public, events system] 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|Render}}() [public, events system] 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|RenderContent}}() [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|RenderContent}}() [protected]}}, which calls...&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*** {{l/version/method|vcPageContent_ckout|RenderCart}}(), which calls...&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;**** $rcCart-&amp;gt;Render(FALSE) (read-only version of cart)&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|vcPageContent_ckout|RenderShippingPage}}(), 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|RenderShippingPage}}(), 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;**** {{l/version/method|vcCartDataManager|RenderShippingPage}}()&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|RenderShippingPage}}()&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/RenderContent&amp;diff=24855&amp;oldid=prev</id>
		<title>Woozle: Created page with &quot;{{page/code/class/method}} ==Call Chains== * {{l/version/method|vcPageContent_ckout|Render}}() [public, events system] calls... ** {{hilite|{{l/version/method|vcPageContent_ck...&quot;</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=VbzCart/v1/class/vcPageContent_ckout/RenderContent&amp;diff=24855&amp;oldid=prev"/>
		<updated>2019-04-21T20:41:26Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{page/code/class/method}} ==Call Chains== * {{l/version/method|vcPageContent_ckout|Render}}() [public, events system] calls... ** {{hilite|{{l/version/method|vcPageContent_ck...&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|Render}}() [public, events system] calls...&lt;br /&gt;
** {{hilite|{{l/version/method|vcPageContent_ckout|RenderContent}}() [protected]}}, which calls...&lt;br /&gt;
*** {{l/version/method|vcPageContent_ckout|RenderShippingPage}}(), which calls&lt;br /&gt;
**** {{l/version/method|vcCartDataManager|RenderShippingPage}}()&lt;br /&gt;
*** {{l/version/method|vcPageContent_ckout|RenderBillingPage}}(), which calls...&lt;br /&gt;
**** {{l/version/method|vcCartDataManager|RenderBillingPage}}()&lt;br /&gt;
*** {{l/version/method|vcPageContent_ckout|RenderConfirm}}(), which is...&lt;br /&gt;
**** currently located in {{l/version|class|vcPageCkout}}, should probably be moved here&lt;br /&gt;
*** {{l/version/method|vcPageContent_ckout|RenderReceipt}}()&lt;br /&gt;
==Code==&lt;br /&gt;
&amp;lt;source lang=php&amp;gt;&lt;br /&gt;
    /*----&lt;br /&gt;
      ACTION: &lt;br /&gt;
      OUTPUT:&lt;br /&gt;
	$doBackBtn: if TRUE, show the BACK navigation button&lt;br /&gt;
	$doRefrBtn:&lt;br /&gt;
	$doNavCtrl:&lt;br /&gt;
    */&lt;br /&gt;
    protected function RenderContent() {&lt;br /&gt;
	$out = NULL;&lt;br /&gt;
	$this-&amp;gt;SetShowNavigation(TRUE);	// default&lt;br /&gt;
	//$doNav = TRUE;&lt;br /&gt;
&lt;br /&gt;
	$sKeyShow = $this-&amp;gt;GetPageKey_forShow();&lt;br /&gt;
	switch ($sKeyShow) {&lt;br /&gt;
	  case KSQ_PAGE_CART:	// shopping cart&lt;br /&gt;
	    $this-&amp;gt;SetShowBackButton(FALSE);&lt;br /&gt;
	    $this-&amp;gt;SetShowRefreshButton(TRUE);&lt;br /&gt;
	    $htMain = $this-&amp;gt;RenderCart();&lt;br /&gt;
	    break;&lt;br /&gt;
	  case KSQ_PAGE_SHIP:	// shipping information&lt;br /&gt;
	    $htMain = $this-&amp;gt;RenderShippingPage();&lt;br /&gt;
	    break;&lt;br /&gt;
	  case KSQ_PAGE_PAY:	// billing information&lt;br /&gt;
	    $htMain = $this-&amp;gt;RenderBillingPage();&lt;br /&gt;
	    break;&lt;br /&gt;
	  case KSQ_PAGE_CONF:	// confirm order&lt;br /&gt;
	    $this-&amp;gt;SetShowNavigation(FALSE);&lt;br /&gt;
	    //$doNav = FALSE;&lt;br /&gt;
	    $htMain = $this-&amp;gt;RenderConfirm();&lt;br /&gt;
	    break;&lt;br /&gt;
	  case KSQ_PAGE_RCPT:	// order receipt&lt;br /&gt;
	    $this-&amp;gt;SetShowNavigation(FALSE);&lt;br /&gt;
	    //$doNav = FALSE;&lt;br /&gt;
	    $this-&amp;gt;ReceiveOrder();		// mark order as received&lt;br /&gt;
	    $htMain = $this-&amp;gt;RenderReceipt();	// display receipt &amp;amp; send by email&lt;br /&gt;
	    break;&lt;br /&gt;
	  default:&lt;br /&gt;
// The normal shopping cart does not specify a target within the checkout sequence&lt;br /&gt;
// ...so show the first page which follows the cart page:&lt;br /&gt;
	    $htMain = $this-&amp;gt;RenderShippingPage();&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
	//$htNavStatus = $this-&amp;gt;RenderNavigationStatus();&lt;br /&gt;
	&lt;br /&gt;
	$out =&lt;br /&gt;
	  $this-&amp;gt;RenderContentHeader()&lt;br /&gt;
	  //.$htNavStatus&lt;br /&gt;
	  .$htMain&lt;br /&gt;
	  //.$htNavButtons&lt;br /&gt;
	  .$this-&amp;gt;RenderContentFooter()&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>