/**
  * Créé un sous-formulaire HTML à partir d'un DataField
  * @param DatabaseDataField $paramDataField
  */
 public function __construct(DatabaseDataField $paramDataField)
 {
     $paramArrayContent = DatabaseOperation::getArrayFieldsNameFromForeignKeyRelationNtoOne($paramDataField->getReferencedTableName(), $paramDataField->getTableName(), $paramDataField->getFieldValue(), explode(',', $paramDataField->getFieldsToDisplay()), explode(',', $paramDataField->getFieldsToOrder()), $paramDataField->getConditionSql());
     parent::__construct($paramArrayContent, ModelTableAssociation::getModelName($paramDataField->getReferencedTableName()), $paramDataField->getFieldLabel());
     $this->setContentLocked(explode(',', $paramDataField->getFieldsToLock()));
     $this->setIsRightToAdd($paramDataField->getRightToAdd());
 }
 /**
  * Créé un sous-formulaire HTML à partir d'un DataField
  * @param DatabaseDataField $paramDataField
  * @param $paramSecondaryTableNamesAndIdKeyValue
  */
 public function __construct(DatabaseDataField $paramDataField, $paramSecondaryTableNamesAndIdKeyValue, $keyValue)
 {
     $paramArrayContent = DatabaseOperation::getArrayFieldsNameFromForeignKeyRelationNtoN($paramDataField->getTableName(), $paramSecondaryTableNamesAndIdKeyValue, $paramDataField->getFieldsToDisplay(), explode(',', $paramDataField->getFieldsToOrder()), $keyValue, $paramDataField->getConditionSql());
     parent::__construct($paramArrayContent, ModelTableAssociation::getModelName($paramDataField->getTableName()), $paramDataField->getFieldLabel(), $paramSecondaryTableNamesAndIdKeyValue);
     $this->setIsRightToAdd($paramDataField->getRightToAdd());
 }