mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-24 21:04:14 +01:00
24 lines
582 B
PHP
24 lines
582 B
PHP
<?php
|
|
/*
|
|
* @copyright Copyright (C) 2010-2025 Combodo SARL
|
|
* @license http://opensource.org/licenses/AGPL-3.0
|
|
*/
|
|
|
|
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()));
|
|
}
|
|
|
|
} |