class UCXF_CustomField in Extra Fields Checkout Pane 6.2
Class for a Extra Fields Pane Custom field.
Custom fields are shown on checkout and on the order administration pages in the extra information pane.
Hierarchy
- class \UCXF_Field
- class \UCXF_CustomField
Expanded class hierarchy of UCXF_CustomField
File
- class/
UCXF_CustomField.class.php, line 13 - Contains the UCXF_CustomField class.
View source
class UCXF_CustomField extends UCXF_Field {
// -----------------------------------------------------------------------------
// CONSTRUCT
// -----------------------------------------------------------------------------
/**
* UCXF_CustomField object constructor
* @access public
* @return void
*/
public function __construct() {
parent::__construct();
$this->returnpath = 'admin/store/settings/checkout/edit/extrafields';
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
UCXF_CustomField:: |
public | function |
UCXF_CustomField object constructor
@access public Overrides UCXF_Field:: |
|
UCXF_Field:: |
private | property | An array of page names on which the field may be displayed @access private | |
UCXF_Field:: |
private | property | An array of pane types the field is in. @access private | |
UCXF_Field:: |
public | function | Delete the field from the database. @access public | |
UCXF_Field:: |
public | function | Get the edit form for the field. @access public | 1 |
UCXF_Field:: |
public | function | Submit the edit form for the item. | 1 |
UCXF_Field:: |
public | function | Validate the edit form for the item. | |
UCXF_Field:: |
function | Load an existing item from an array. @access public | ||
UCXF_Field:: |
public | function | generate() Generates a field array used in forms generated by uc_extra_fields_pane @access public | |
UCXF_Field:: |
public | function | Generates the value for use in fields. This value will be used as a default value for textfields and as an array of options for selection fields. | |
UCXF_Field:: |
public static | function | Returns an example for the value section | |
UCXF_Field:: |
public | function | Returns the "readable" value type, as a string. | |
UCXF_Field:: |
public | function | Returns if field is in given pane | |
UCXF_Field:: |
public | function | Returns if the field's value may be displayed on te given page. | |
UCXF_Field:: |
public | function | Output a value with filtering | |
UCXF_Field:: |
public | function | Output a value based on the field type | |
UCXF_Field:: |
public | function | save() Saves field in database @access public | |
UCXF_Field:: |
public | function | Return as an array of values. @access public | |
UCXF_Field:: |
constant | |||
UCXF_Field:: |
constant | |||
UCXF_Field:: |
constant | |||
UCXF_Field:: |
constant | |||
UCXF_Field:: |
constant | |||
UCXF_Field:: |
constant | |||
UCXF_Field:: |
public | function | Getter | |
UCXF_Field:: |
public | function | Setter |