Skip to content

Commit 340ddf6

Browse files
committed
docs: add sub section titles
1 parent d93ef84 commit 340ddf6

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

user_guide_src/source/extending/events.rst

+11-1
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,24 @@ You can stop simulation by passing false:
8787
Event Points
8888
============
8989

90-
The following is a list of available event points within the CodeIgniter core code:
90+
For Web Apps
91+
------------
92+
93+
The following is a list of available event points for web applications that are
94+
invoked by **public/index.php**:
9195

9296
* **pre_system** Called early during system execution. The URI, Request, and
9397
Response have been instantiated, but page cache checking, routing, and execution
9498
of "before" controller filters have not yet occurred.
9599
* **post_controller_constructor** Called immediately after your controller is instantiated, but prior to any method calls happening.
96100
* **post_system** Called right before the final rendered page is sent to the browser,
97101
at the end of system execution, after the execution of "after" controller filters.
102+
103+
Others
104+
------
105+
106+
The following is a list of event points available for each of the libraries:
107+
98108
* **email** Called after an email sent successfully from ``CodeIgniter\Email\Email``. Receives an array of the ``Email`` class's properties as a parameter.
99109
* **DBQuery** Called after a database query whether successful or not. Receives the ``Query`` object.
100110
* **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)