Wiki articles in category How-tos tagged with "events"

Showing 1-3 of 3 items.

Events registration examples

Created 5 years ago by minitia, updated 5 years ago by minitia.

Register an event handler at Object-Level

2 0
2 followers
Viewed: 60 587 times
Version: 2.0
Category: How-tos
Tags: events, yii2

Save and Display Date/Time Fields in different formats in Yii2

Created 9 years ago by Kartik V, updated 9 years ago by Kartik V.

You would find having such a need in most Yii Projects. Your database needs a specific format to store date fields, while you may want to display it in different formats to the users on forms and other views.

0 0
51 followers
Viewed: 175 374 times
Version: 2.0
Category: How-tos

Attaching multiple event handlers to onBeginRequest

Created 10 years ago by Boaz, updated 10 years ago by CeBe.

There came the need to perform two operations, always, on 'application boot' time. Example? My real world example involved some geo-location logic (that's the first operation) and syncing of some session details so KcFinder can be in sync with the user in context - each user with his own session container (the second).

1 0
2 followers
Viewed: 15 491 times
Version: 1.1
Category: How-tos