Difference between #1 and #2 of
Events explained

Revision #2 has been created by Ivo Renkema on Dec 8, 2012, 6:24:52 PM with the memo:

minor typo fixed
« previous (#1)


Title unchanged

Events explained

Category unchanged


Yii version unchanged

Tags unchanged

events, event handler

Content changed

Let's say that we are inside a function called runForestRun()
Instead of simply executing the code of this function we would like in addition to express that forest ran.
In other words to say that this event has occured.
Because maybe others are interested that this event has occur
ed and they would like to react!

So we want this:

function runForestRun(){ //some point in our code, either function or method
15 3
Viewed: 43 019 times
Version: 1.1
Category: Tutorials
Written by: pligor
Last updated by: Ivo Renkema
Created on: Apr 28, 2012
Last updated: 5 years ago
Update Article


View all history