N°3750 - Behat: Add metadata about logs label

This commit is contained in:
Molkobain
2021-08-17 17:49:22 +02:00
parent 007e1ded0d
commit 4458f26379
4 changed files with 17 additions and 4 deletions

View File

@@ -10,6 +10,7 @@ use Combodo\iTop\Application\UI\Base\Component\Input\RichText\RichText;
use Combodo\iTop\Application\UI\Base\Layout\UIContentBlock;
use Combodo\iTop\Application\UI\Base\UIBlock;
use DBObject;
use MetaModel;
/**
* Class CaseLogEntryForm
@@ -103,6 +104,16 @@ class CaseLogEntryForm extends UIContentBlock
return $this->sAttCode;
}
/**
* @see static::$sAttCode
* @return string
* @throws \Exception
*/
public function GetAttLabel(): string
{
return MetaModel::GetLabel($this->GetObjectClass(), $this->GetAttCode());
}
/**
* @see $sSubmitMode
*