N°3567 - Migrate backoffice pages to new UIBlock system : App. upgrade (Fix default values and typos)

This commit is contained in:
Eric
2021-01-20 15:01:27 +01:00
parent d54e156ec2
commit 959cecf891
2 changed files with 3 additions and 3 deletions

View File

@@ -76,14 +76,14 @@ class FieldUIBlockFactory extends AbstractUIBlockFactory
return $oField;
}
public static function MakeLarge(string $sLabel, $sValueHtml)
public static function MakeLarge(string $sLabel, string $sValueHtml = '')
{
$oField = new Field($sLabel, new Html($sValueHtml));
$oField->SetLayout(Field::ENUM_FIELD_LAYOUT_LARGE);
return $oField;
}
public static function MakeSmall(string $sLabel, $sValueHtml)
public static function MakeSmall(string $sLabel, string $sValueHtml = '')
{
$oField = new Field($sLabel, new Html($sValueHtml));
$oField->SetLayout(Field::ENUM_FIELD_LAYOUT_SMALL);