mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-01-11 17:18:42 +00:00
test fixes and changes for release
This commit is contained in:
parent
2bd6708ec0
commit
7a91d0b537
|
|
@ -8,7 +8,7 @@
|
|||
"uri": "{/lang}/{/app}/editor/list",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 75,
|
||||
"order": 20,
|
||||
"from": "Editor",
|
||||
"permission": { "permission": 2, "category": null, "element": null },
|
||||
"parent": 1003301001,
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ class EditorDocType implements \JsonSerializable
|
|||
* @var string|EditorDocTypeL11n
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected $title;
|
||||
protected $title = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
|
|
@ -100,7 +100,7 @@ class EditorDocType implements \JsonSerializable
|
|||
{
|
||||
if ($title instanceof EditorDocTypeL11n) {
|
||||
$this->title = $title;
|
||||
} elseif (isset($this->title) && $this->title instanceof EditorDocTypeL11n) {
|
||||
} elseif ($this->title instanceof EditorDocTypeL11n) {
|
||||
$this->title->title = $title;
|
||||
} else {
|
||||
$this->title = new EditorDocTypeL11n();
|
||||
|
|
|
|||
|
|
@ -197,6 +197,30 @@ class TextView extends View
|
|||
return $this->printHtml($this->tplValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* Render template value path
|
||||
*
|
||||
* @return string
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function renderTplValuePath() : string
|
||||
{
|
||||
return $this->printHtml($this->tplValuePath);
|
||||
}
|
||||
|
||||
/**
|
||||
* Render text value path
|
||||
*
|
||||
* @return string
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function renderTextValuePath() : string
|
||||
{
|
||||
return $this->printHtml($this->textValuePath);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -257,6 +257,25 @@ $CONFIG = [
|
|||
'root' => '/',
|
||||
'https' => false,
|
||||
],
|
||||
'app' => [
|
||||
'path' => __DIR__,
|
||||
'default' => [
|
||||
'app' => 'Backend',
|
||||
'id' => 'backend',
|
||||
'lang' => 'en',
|
||||
'theme' => 'Backend',
|
||||
'org' => 1,
|
||||
],
|
||||
'domains' => [
|
||||
'127.0.0.1' => [
|
||||
'app' => 'Backend',
|
||||
'id' => 'backend',
|
||||
'lang' => 'en',
|
||||
'theme' => 'Backend',
|
||||
'org' => 1,
|
||||
],
|
||||
],
|
||||
],
|
||||
'socket' => [
|
||||
'master' => [
|
||||
'host' => '127.0.0.1',
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user