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

システムイベントの登録 #168

Open
yama opened this issue Sep 8, 2016 · 0 comments
Open

システムイベントの登録 #168

yama opened this issue Sep 8, 2016 · 0 comments

Comments

@yama
Copy link
Member

yama commented Sep 8, 2016

function eventOnLoadDocumentObject {
  ここに処理を書く
}

NucleusCMSみたいなイメージ。プラグイン編集画面の「システムイベント」のタブに「オブジェクトとして登録する」といったチェックボックスを設けて、それをチェックすればシステムイベントの登録フォームが消えるというふうにする。できれば値はreturnで返す。

https://github.com/NucleusCMS/NucleusCMS-ja/blob/v3.7dev-ja/nucleus/libs/PLUGIN.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

No branches or pull requests

1 participant