/**
  * @see parent::updateFormFields()
  */
 function updateFormFields()
 {
     parent::updateFormFields();
     $this->_view = $this->coded ? "# " : "";
     $this->_view .= $this->name;
 }
 /**
  * @see parent::updateFormFields()
  */
 function updateFormFields()
 {
     parent::updateFormFields();
     $this->_view = "{$this->name} [{$this->prop}]";
     if (!$this->coord_width && !$this->coord_height) {
         $this->_no_size = true;
     }
     if (!self::$_load_lite) {
         $this->_ex_class_id = $this->loadRefExGroup()->ex_class_id;
         // must be called in the class editor
         if (!CExObject::$_locales_cache_enabled) {
             $this->updateTranslation();
         }
     }
 }
Beispiel #3
0
 /**
  * @see parent::updateFormFields()
  */
 function updateFormFields()
 {
     parent::updateFormFields();
     $this->_view = $this->name;
     $this->updatePropFromList();
     if ($this->ex_list_id) {
         $list = $this->loadRefExList();
         $this->_view .= " [{$list->_view}]";
     } else {
         $spec_type = $this->loadConceptSpec()->getSpecType();
         $this->_view .= " [" . CAppUI::tr("CMbFieldSpec.type.{$spec_type}") . "]";
     }
 }