function __construct(DatabaseDataField $paramDataField)
 {
     $this->setDataField($paramDataField);
     parent::__construct();
     parent::initAbstractHtmlSelect($this->getHtmlName(), $this->getDataField()->getFieldLabel(), $this->getDataField()->getFieldValue(), $this->getDataField()->isFieldDiff(), $this->getDataField()->getFieldContentArray(), $this->getDataField()->getDataValidationSuccessful(), $this->getDataField()->getDataWarningMessage(), $this->getDataField()->getIsFieldLock(), $this->getDataField()->getLinkFieldLock());
     $this->getEventsForm()->setOnChangeWithAjaxAutoSave($this->getDataField()->getTableName(), $this->getDataField()->getKeyName(), $this->getDataField()->getKeyValue(), $this->getDataField()->getFieldName());
     /**
      * Détermine si le datafield encours doit être non éditiable
      */
     $this->setContentLocked($paramDataField->getFieldsToLock());
 }
Exemplo n.º 2
0
 public function __construct()
 {
     parent::__construct();
     parent::setArrayHtmlTagOptionFromPhpArray(self::getArrayListContentBoolean());
 }