Difference between #1 and #2 of
Attaching multiple event handlers to onBeginRequest

Changes

Title unchanged

Attaching multiple event handlers to onBeginRequest

Category unchanged

How-tos

Yii version unchanged

Tags unchanged

events, event handler

Content unchanged

[...]
$webapp->onBeginRequest = ['MyClassA', 'staticMethodA'];
$webapp->onBeginRequest = ['MyClassB', 'staticMethodB'];
$webapp->run();
```

A quick debugging revealed - both methods are being called exactly as presumed. QED.
1 0
2 followers
Viewed: 15 977 times
Version: 1.1
Category: How-tos
Written by: Boaz
Last updated by: CeBe
Created on: Mar 13, 2014
Last updated: 10 years ago
Update Article

Revisions

View all history