Wiki articles in category FAQs

Showing 1-3 of 3 items.
Created 3 months ago by samdark.

When to use Active Record

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

7 0
2 followers
Viewed: 7 407 times
Version: all
Category: FAQs
Created a year ago by darioo, updated a year ago by darioo.

Show raw SQL query

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

8 0
3 followers
Viewed: 61 321 times
Version: 2.0
Category: FAQs
Created 4 years ago by Kartik V, updated 4 years ago by Kartik V.

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

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: 29 438 times
Version: 2.0
Category: FAQs