You are here

function jeditable_handler_field_date::construct in jEditable inline content editing 6.2

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

File

views/jeditable_handler_field_date.inc, line 22
Definition of jeditable_handler_field_date class.

Class

jeditable_handler_field_date
Extends the date_handler_field_multiple class.

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;
  }
}