public function to_json($load) { $field_data = parent::to_json($load); $field_data = array_merge($field_data, array('html' => $this->field_html)); return $field_data; }