private function UCXF_AddressPane::getOriginalPane in Extra Fields Checkout Pane 6.2
Loads data from original address panes
@access private
Parameters
string $op:
Return value
mixed
9 calls to UCXF_AddressPane::getOriginalPane()
- UCXF_AddressPane::checkout_process in class/
UCXF_AddressPane.class.php - Process values @access protected
- UCXF_AddressPane::checkout_review in class/
UCXF_AddressPane.class.php - Outputs data for the review page @access protected
- UCXF_AddressPane::checkout_view in class/
UCXF_AddressPane.class.php - View the pane to the customer @access protected
- UCXF_AddressPane::execute in class/
UCXF_AddressPane.class.php - Executes an operation
- UCXF_AddressPane::order_customer in class/
UCXF_AddressPane.class.php - View the order data for the customer @access protected
File
- class/
UCXF_AddressPane.class.php, line 209 - Contains the UCXF_AddressPane class.
Class
- UCXF_AddressPane
- Class that deals with checkout panes and order panes especially for the address fields.
Code
private function getOriginalPane($op) {
$pane_name = $this
->getPaneName();
switch ($this->uc_pane_type) {
case self::PANE_CHECKOUT:
$function = 'uc_checkout_pane_' . $pane_name;
return $function($op, $this->order, $this->values);
case self::PANE_ORDER:
$function = 'uc_order_pane_' . $pane_name;
return $function($op, $this->order);
}
}