mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-02-15 09:48:41 +00:00
prepare path usage
This commit is contained in:
parent
2cf57defd0
commit
7781b5a059
|
|
@ -86,6 +86,22 @@ class TextView extends View
|
||||||
*/
|
*/
|
||||||
private string $tplValue = '';
|
private string $tplValue = '';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Tpl value path
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
|
private string $tplValuePath = '';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Text value path
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
|
private string $textValuePath = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
|
@ -193,6 +209,8 @@ class TextView extends View
|
||||||
$this->preview = $data[4] ?? '';
|
$this->preview = $data[4] ?? '';
|
||||||
$this->tplText = $data[5] ?? '';
|
$this->tplText = $data[5] ?? '';
|
||||||
$this->tplValue = $data[6] ?? '';
|
$this->tplValue = $data[6] ?? '';
|
||||||
|
$this->tplValuePath = $data[7] ?? '';
|
||||||
|
$this->textValuePath = $data[8] ?? '';
|
||||||
|
|
||||||
return parent::render();
|
return parent::render();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user