Skip to content

Корректное имя таблицы если таблица указана как {{%tableName}}#4

Open
Dominus77 wants to merge 1 commit intophpnt:masterfrom
Dominus77:master
Open

Корректное имя таблицы если таблица указана как {{%tableName}}#4
Dominus77 wants to merge 1 commit intophpnt:masterfrom
Dominus77:master

Conversation

@Dominus77
Copy link

@Dominus77 Dominus77 commented Nov 21, 2017

Если таблица указана как {{%tableName}}
$tableName = $searchModel->tableName();
вернет '{{%tableName}}'
Если заменить на
$tableName = $searchModel->getTableSchema()->fullName;
вернет 'prefix_tableName'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant