You are here

function jeditable_handler_field_date::construct in jEditable inline content editing 6

Same name and namespace in other branches
  1. 6.2 views/jeditable_handler_field_date.inc \jeditable_handler_field_date::construct()

File

views/jeditable_handler_field_date.inc, line 18

Class

jeditable_handler_field_date
Override for date_handler_field_multiple

Code

function construct() {
  parent::construct();
  $field_type = $this->content_field['type'];
  $field_widget_type = $this->content_field['widget']['type'];
  if (!$inline_editor_lookup[$field_type] || !$inline_editor_lookup[$field_type][$field_widget_type]) {
    $this->inline_editor_class = $this->inline_editor_lookup[$field_type][$field_widget_type];
  }
  else {
    $this->inline_editor_class = NULL;
  }
}