Wiki

Sorted by viewsX
Displaying 541-550 of 732 result(s).

TimeZone dropDown

Created 2 years ago by Tibor KatelbachHow-tos0 comments – viewed 6,618 times – ( +2 ) – version 1.1
I spend a bit of time looking for the this piece of code while building time feature on a site this tutorial also helped Local time zones and locales

关于Yii CHttpSession性能优化篇之源码流程分析

Created 3 years ago by Darwin WenTips0 comments – viewed 6,615 times – ( +1 / -1 ) – version 1.1
当我们使用Yii数据库去保存Session时,只要简单的配置就可以完成这个功能,在进行性能优化这个主题之前,我们先来查看一下CHttpSession和CDBHttpSession源代码,探讨CHttpSession和CDBHttpSession的流程再进行深一步优化主题。

How to change Migration Table name and use defined prefix.

Created about a year ago by JorgeeHow-tos1 comment – viewed 6,603 times – ( +3 ) – version 1.1
To accomplish the task of changing Migration table's name, by default tbl_migration, you need to add the following in your ./protected/config/console.php.

How to create the custom Drop-down using CHtml::dropDownList

Created 7 months ago by Ankit ModiHow-tos1 comment – viewed 6,579 times – version all
Hi Friends, This tutorial may be help us create the custom drop-down menu using CHtml::dropDownList

[PT-BR] Proteção Contra Logout CSRF

Created 3 years ago by Rodrigo CoelhoTutorials0 comments – viewed 6,575 times – ( +2 / -1 ) – version 1.1
CSRF é o acrônimo para Cross-site request forgery. CSRF é um ataque que forca o usuário a executar ações não desejadas numa aplicação Web na qual ele está autenticado.

two or more different collected data in one CGridView

Created about a year ago by Kostas Apazidis (KonApaz)How-tos2 comments – viewed 6,482 times – ( +3 / -1 ) – version 1.1
Assume that you have teachers and students model.

Profiling using XDebug

Created about a year ago by le_topHow-tos1 comment – viewed 6,436 times – ( +3 ) – version all
A short explication on how to extract profile information for PHP on your server using XDebug and KCacheGrind or WinCacheGrind.

Fixing extensions without modifying their code

Created 2 years ago by schmunkTips3 comments – viewed 6,434 times – ( +6 ) – version 1.1
If you're working a lot with extensions you often stumble upon problems, when you want to include them into your custom web application, like hardcoded or absolute path aliases or classes extended from core application components, which implement addiditonal features.

Update specific cgridview html row after AJAX request

Created 9 months ago by Kostas Apazidis (KonApaz)How-tos3 comments – viewed 6,401 times – ( +2 ) – version 1.1
After of model update (successfull or not) throught CGridView (check the below link) you probably need to updates the specific row html in cgridview (not entire cgridview)

Update related models of a model using listBox and checkBoxList in the form

Created 9 months ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 6,382 times – ( +2 ) – version 1.1
Suppose you want to have a list in Category with its related products and you want to updates the list (removing or insert product items) This wiki show us how to do that