Skip to content

Commit a13f54d

Browse files
authored
Merge pull request #8961 from obozdag/patch-17
docs: Small typos in extending/events.rst
2 parents cf0e87d + c647c47 commit a13f54d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

user_guide_src/source/extending/events.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ Events
22
#####################################
33

44
CodeIgniter's Events feature provides a means to tap into and modify the inner workings of the framework without hacking
5-
core files. When CodeIgniter runs it follows a specific execution process. There may be instances, however, when you'd
5+
core files. When CodeIgniter runs, it follows a specific execution process. There may be instances, however, when you'd
66
like to cause some action to take place at a particular stage in the execution process. For example, you might want to run
77
a script right before your controllers get loaded, or right after, or you might want to trigger one of your own scripts
88
in some other location.
99

10-
Events work on a *publish/subscribe* pattern, where an event, is triggered at some point during the script execution.
10+
Events work on a *publish/subscribe* pattern, where an event is triggered at some point during the script execution.
1111
Other scripts can "subscribe" to that event by registering with the Events class to let it know they want to perform an
1212
action when that event is triggered.
1313

@@ -24,7 +24,7 @@ Defining an Event
2424
=================
2525

2626
Most events are defined within the **app/Config/Events.php** file. You can subscribe an action to an event with
27-
the ``Events`` class' ``on()`` method. The first parameter is the name of the event to subscribe to. The second parameter is
27+
the ``Events`` class's ``on()`` method. The first parameter is the name of the event to subscribe to. The second parameter is
2828
a callable that will be run when that event is triggered:
2929

3030
.. literalinclude:: events/001.php

0 commit comments

Comments
 (0)