mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
N°3750 - Behat: Add metadata about logs label
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user