Showing 1-5 of 5 items.

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

Created 12 years ago by Kartik V Kartik V, updated 11 years ago by Kartik V Kartik V. 12 comments

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
Viewed: 186 308 times
Version: 2.0
Category: How-tos

Attaching multiple event handlers to onBeginRequest

Created 12 years ago by Boaz Boaz, updated 12 years ago by CeBe CeBe. 0 comments

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
Viewed: 18 820 times
Version: 1.1
Category: How-tos