protected function UCXF_AddressPane::getPaneName in Extra Fields Checkout Pane 6.2
Returns name of original pane @access protected
Return value
string
Overrides UCXF_Pane::getPaneName
3 calls to UCXF_AddressPane::getPaneName()
- UCXF_AddressPane::getOriginalPane in class/
UCXF_AddressPane.class.php - Loads data from original address panes
- UCXF_AddressPane::order_edit_form in class/
UCXF_AddressPane.class.php - View the editable form @access protected
- UCXF_AddressPane::order_edit_theme in class/
UCXF_AddressPane.class.php - Theme the editable form @access protected
File
- class/
UCXF_AddressPane.class.php, line 226 - Contains the UCXF_AddressPane class.
Class
- UCXF_AddressPane
- Class that deals with checkout panes and order panes especially for the address fields.
Code
protected function getPaneName() {
switch ($this->uc_pane_type) {
case self::PANE_CHECKOUT:
return $this->pane_id;
case self::PANE_ORDER:
switch ($this->pane_id) {
case 'delivery':
return 'ship_to';
case 'billing':
return 'bill_to';
}
break;
}
}