You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: user_guide_src/source/extending/events.rst
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -87,9 +87,12 @@ Event Points
87
87
88
88
The following is a list of available event points within the CodeIgniter core code:
89
89
90
-
* **pre_system** Called very early during system execution. Only the benchmark and events class have been loaded at this point. No routing or other processes have happened.
90
+
* **pre_system** Called early during system execution. The URI, Request, and
91
+
Response have been instantiated, but page cache checking, routing, and execution
92
+
of "before" controller filters have not yet occurred.
91
93
* **post_controller_constructor** Called immediately after your controller is instantiated, but prior to any method calls happening.
92
-
* **post_system** Called after the final rendered page is sent to the browser, at the end of system execution after the finalized data is sent to the browser.
94
+
* **post_system** Called right before the final rendered page is sent to the browser,
95
+
at the end of system execution, after the execution of "after" controller filters.
93
96
* **email** Called after an email sent successfully from ``CodeIgniter\Email\Email``. Receives an array of the ``Email`` class's properties as a parameter.
94
97
* **DBQuery** Called after a database query whether successful or not. Receives the ``Query`` object.
95
98
* **migrate** Called after a successful migration call to ``latest()`` or ``regress()``. Receives the current properties of ``MigrationRunner`` as well as the name of the method.
0 commit comments