prepare path usage

This commit is contained in:
Dennis Eichhorn 2020-05-16 21:30:15 +02:00
parent 2cf57defd0
commit 7781b5a059

View File

@ -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();
} }