Skip to content

Commit

Permalink
docs: add descriptions to upgrade_4xx Hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Oct 19, 2023
1 parent 50e7867 commit 82ccf15
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions user_guide_src/source/installation/upgrade_4xx.rst
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,12 @@ Hooks
- Instead of CI3's ``$hook['post_controller_constructor']`` you now use
``Events::on('post_controller_constructor', ['MyClass', 'MyFunction']);``, with the namespace ``CodeIgniter\Events\Events;``.
- Events are always enabled, and are available globally.
- The hook point ``pre_controller`` and ``post_controller`` have been removed.
Use :doc:`../incoming/filters` instead.
- The hook point ``display_override`` and ``cache_override`` have been removed.
Because the base methods have been removed.
- The hook point ``post_system`` has moved just before sending the final rendered
page.

Extending the Framework
=======================
Expand Down

0 comments on commit 82ccf15

Please sign in to comment.