Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Автоподключение модуля #3

Merged
merged 8 commits into from Sep 8, 2015
Merged

Автоподключение модуля #3

merged 8 commits into from Sep 8, 2015

Conversation

niksamokhvalov
Copy link
Collaborator

Автоподключение модуля в админке (issue #2).

ASGAlex added a commit that referenced this pull request Sep 8, 2015
Автоподключение модуля
@ASGAlex ASGAlex merged commit 2f7bcdf into DigitalWand:master Sep 8, 2015
@ASGAlex
Copy link
Member

ASGAlex commented Sep 8, 2015

Правда проблему это так полностью и не решает: все равно нужно где-то подключать Interface.php, в котором заполняется массив настроек интерфейса, создаются классы виджетов. Его тоже нет смысла подключать прям везде, так что нужно делать проверку, админка у нас или где.
Кажется, логично было бы его заихнуть туда же, в AdminBaseHelper, где и AdminBaseHelper::setInterfaceSettings().

@niksamokhvalov
Copy link
Collaborator Author

Это мы решим в рамках issue #1. Когда Interface.php станет объектно-ориентированным, будет работать автозагрузка и необходимость в ручном подключении отпадёт.

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.

None yet

2 participants