Skip to content

Commit f0f5713

Browse files
committed
docs: add descriptions to upgrade_4xx Hooks
1 parent bc6229b commit f0f5713

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

user_guide_src/source/installation/upgrade_4xx.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,12 @@ Hooks
153153
- Instead of CI3's ``$hook['post_controller_constructor']`` you now use
154154
``Events::on('post_controller_constructor', ['MyClass', 'MyFunction']);``, with the namespace ``CodeIgniter\Events\Events;``.
155155
- Events are always enabled, and are available globally.
156+
- The hook point ``pre_controller`` and ``post_controller`` have been removed.
157+
Use :doc:`../incoming/filters` instead.
158+
- The hook point ``display_override`` and ``cache_override`` have been removed.
159+
Because the base methods have been removed.
160+
- The hook point ``post_system`` has moved just before sending the final rendered
161+
page.
156162

157163
Extending the Framework
158164
=======================

0 commit comments

Comments
 (0)