You are here

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

Same name and namespace in other branches
  1. 6.2 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 203
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,
  );
}