You are here

public function UCXF_Value::toArray in Extra Fields Checkout Pane 6.2

Same name and namespace in other branches
  1. 7 class/UCXF_Value.class.php \UCXF_Value::toArray()

Convert item to an array @access public

Return value

array

1 call to UCXF_Value::toArray()
UCXF_Value::save in class/UCXF_Value.class.php
Save value to database @access public

File

class/UCXF_Value.class.php, line 204
Contains the UCXF_Value class.

Class

UCXF_Value
This class is used to keep track of all field values currently loaded.

Code

public function toArray() {
  return array(
    'element_id' => $this->element_id,
    'element_type' => $this->element_type,
    'field_id' => $this->field_id,
    'db_name' => $this->db_name,
    'value' => $this->value,
  );
}