VbzCart/docs/v1/class/vcCartData Buyer: Difference between revisions

From Woozle Writes Code
< VbzCart‎ | docs‎ | v1/class
Jump to navigation Jump to search
imported>Woozle
(Replaced content with "{{page/code/class}} * '''file''': {{l/project|file|cart/cart.data.fg.buyer.php}} * '''extends''': {{l/version|class|vcCartData_Contact}} * '''call links''': ** '''field cr...")
imported>Woozle
No edit summary
Line 1: Line 1:
{{page/code/class}}
{{page/code/class}}
* '''file''': {{l/project|file|cart/cart.data.fg.buyer.php}}
* '''file''': {{l/project|file|cart/cart.data.fg.buyer.php}}
* '''extends''': {{l/version|class|vcCartData_Contact}}
* '''extends''' {{l/version|class|vcCartData_Contact}} which...
** '''...extends''' {{l/version|class|vcCartData_NameAddress}} which...
*** '''...uses''' {{l/version|class|vtCartData_NameAddress}}
** '''...uses''' {{l/version|class|vtCartData_EmailPhone}}
* '''call links''':
* '''call links''':
** '''field creation''':
** '''field creation''':
Line 15: Line 18:
****** '''calls''' $this->'''RenderPayCardNumberSection'''($doEdit)
****** '''calls''' $this->'''RenderPayCardNumberSection'''($doEdit)
****** '''calls''' $this->'''RenderPayCardAddrSection'''($doEdit)
****** '''calls''' $this->'''RenderPayCardAddrSection'''($doEdit)
** '''capture''':
*** $this->'''CapturePayment'''() [public]:
**** '''called by''' {{l/version|class|vcCartDataManager}}::'''CaptureBillingPage'''()
**** '''calls''' $this->'''ReceiveForm'''()
***** '''defined in''' {{l/version|class|vtCartData_NameAddress}}
****** Doesn't actually seem to receive the form

Revision as of 13:05, 16 April 2019

Template:Page/code/class

  • file: Template:L/project
  • extends Template:L/version which...
  • call links:
    • field creation:
      • $this->CreateFields() [events API]:
        • calls Template:L/version::CreateFields() (parent)
        • calls $this->OrderMessageField(); // add this field to the standard ones
        • calls $this->CardNumberField();
        • calls $this->CardExpiryField();
    • rendering:
      • $this->RenderPayment($doEdit) [public]:
        • calls $this->RenderPayTypeSection($doEdit)
          • calls $this->RenderPayCardSection($doEdit)
            • calls $this->RenderPayCardNumberSection($doEdit)
            • calls $this->RenderPayCardAddrSection($doEdit)
    • capture:
      • $this->CapturePayment() [public]: