Exemple #1
0
 /**
  * @param $current_element
  */
 private function render_element($current_element)
 {
     $this->set_current_element($current_element);
     if ($this->current_element->field_data) {
         if ($this->is_current_element_a_term()) {
             $this->editor_object->add_term($this->current_element);
         } else {
             if (!$this->current_element->field_finished) {
                 $this->all_translations_finished = false;
             }
             $this->render_translation_element();
         }
     }
 }