Skip to content

Commit e09cfec

Browse files
committed
docs: fix incorrect descriptions for pre_system and post_system
1 parent 15b2ea4 commit e09cfec

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

user_guide_src/source/extending/events.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,12 @@ Event Points
8787

8888
The following is a list of available event points within the CodeIgniter core code:
8989

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.
9193
* **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.
9396
* **email** Called after an email sent successfully from ``CodeIgniter\Email\Email``. Receives an array of the ``Email`` class's properties as a parameter.
9497
* **DBQuery** Called after a database query whether successful or not. Receives the ``Query`` object.
9598
* **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

Comments
 (0)