Wiki articles in category FAQs

Showing 1-3 of 3 items.

When to use Active Record

Created 9 months ago by samdark.

When to use Active Record is a common question among developers, Yii and overall.

9 0
3 followers
Viewed: 22 322 times
Version: all
Category: FAQs

Show raw SQL query

Created 2 years ago by darioo, updated 2 years ago by darioo.

Here's a quick tip to dump the SQL for query.

10 0
4 followers
Viewed: 83 225 times
Version: 2.0
Category: FAQs

Overcoming removal of client helpers (e.g. ajaxLink) and ClientScript in Yii 2.0

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

Alternatively, inline assets (JS/CSS) can be registered at runtime from within the View. For example you can clearly simulate the ajaxLink feature using a inline javascript. Its however recommended if you can merge where possible, client code (JS/CSS) into separate JS/CSS files and loaded through the AssetBundle. Note there is no more need of a CClientScript anymore:

0 2
40 followers
Viewed: 31 799 times
Version: 2.0
Category: FAQs