mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-25 13:24:12 +01:00
20 lines
466 B
PHP
20 lines
466 B
PHP
<?php
|
|
|
|
namespace Combodo\iTop\Forms\Block\DataModel;
|
|
|
|
use Combodo\iTop\Forms\Block\Base\StringFormBlock;
|
|
use Combodo\iTop\Forms\Block\FormOutput;
|
|
use Combodo\iTop\Forms\Converter\OqlToClassName;
|
|
|
|
class OqlFormBlock extends StringFormBlock
|
|
{
|
|
|
|
public const OUTPUT_SELECTED_CLASS = 'selected_class';
|
|
|
|
public function InitOutputs(): void
|
|
{
|
|
parent::InitOutputs();
|
|
$this->AddOutput(new FormOutput(self::OUTPUT_SELECTED_CLASS, 'string', new OqlToClassName()));
|
|
}
|
|
|
|
} |