You are here

public function UCXF_Field::__construct in Extra Fields Checkout Pane 7

Same name and namespace in other branches
  1. 6.2 class/UCXF_Field.class.php \UCXF_Field::__construct()

UCXF_Field object constructor @access public

Return value

void

1 call to UCXF_Field::__construct()
UCXF_AddressField::__construct in class/UCXF_AddressField.class.php
UCXF_AddressField object constructor @access public
1 method overrides UCXF_Field::__construct()
UCXF_AddressField::__construct in class/UCXF_AddressField.class.php
UCXF_AddressField object constructor @access public

File

class/UCXF_Field.class.php, line 50
Contains the UCXF_Field class.

Class

UCXF_Field
Base class for a Extra Fields Pane field

Code

public function __construct() {

  // Set default values
  $this->weight = 0;
  $this->value_type = self::UCXF_WIDGET_TYPE_TEXTFIELD;
  $this->required = FALSE;
  $this->enabled = TRUE;
  $this->pane_types = array();
  $this->display_settings = array();
}