Ticket #12885

Postクラスをもう少し細分化する
오픈 날짜: 2008-06-28 21:19 마지막 업데이트: 2008-06-28 21:23

Reporter:
소유자:
Status:
Open [Owner assigned]
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
None

Details

protected function _load(){}

protected function _receive(){}

protected function _check(){}

protected function _confirm(){}

protected function _save(){}

protected function _predelete(){}

protected function _delete(){}
に加えて
_redirect()
_postsave()
_postdelete()
を追加する。

redirect先を換えたいだけのとき、例えば、管理画面にあっ
たフォームを一般ユーザのほうに公開する際にはextendsする
はずだが、redirect()が分離されてないと、いちいちsaveご
と上書きしないといえけない。不便。

Ticket History (1/1 Histories)

2008-06-28 21:23 Updated by: suin
  • (Category change on Tracker)

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login