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

Vew関連のイベント(beforeGetViewFileName/ beforeGetElementFileName / beforeGetLayoutFileName)を実装する #2404

Closed
kaburk opened this issue Jun 16, 2023 · 0 comments
Assignees
Labels
Todo 実行確定タスク

Comments

@kaburk
Copy link
Collaborator

kaburk commented Jun 16, 2023

概要

baserCMS4系にあった Vew関連のイベント

  • beforeGetViewFileName
  • beforeGetElementFileName
  • beforeGetLayoutFileName
    がbaserCMS5系にないようなので実装するか、近い機能を準備する必要がありそうです。

baserCMS4系のBcAppView.phpにて実装されていた部分になります。

baserCMS version : 5.0.2-dev

備考

baserCMS5系だとAppView.phpあたりで
View.php の
_getTemplateFileName
_getElementFileName
_getLayoutFileName
を再定義してイベント処理実装するのが良さそう?

beforeGetViewFileName → beforeGetTemplateFileName
beforeGetElementFileName
beforeGetLayoutFileName

@kaburk kaburk added the Todo 実行確定タスク label Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Todo 実行確定タスク
Projects
None yet
Development

No branches or pull requests

1 participant