Wiki

Sorted by viewsX
Displaying 571-580 of 784 result(s).

How to make use of a fragment cache

Created 8 years ago by dalipTutorials0 comments – viewed 10,646 times – ( +1 / -1 ) – version 1.1
According to the manual http://jp.php.net/manual/en/memcache.installation.php;
tags: cache, memcache

Profiling using XDebug

Created 4 years ago by le_topHow-tos1 comment – viewed 10,632 times – ( +3 / -1 ) – version all
A short explication on how to extract profile information for PHP on your server using XDebug and KCacheGrind or WinCacheGrind.

How to change Migration Table name and use defined prefix.

Created 4 years ago by JorgeeHow-tos1 comment – viewed 10,609 times – ( +3 / -1 ) – 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.

Using the jamselect widget with min and max values

Created 6 years ago by got 2 doodleHow-tos0 comments – viewed 10,550 times – ( +2 / -1 ) – version 1.1
I needed to have users select from a list of keywords, in this example they must select at least two keywords but they cannot select more than six.

Shrink Yii, help your IDE and speed up copying

Created 5 years ago by dckurushinTips4 comments – viewed 10,536 times – ( +10 / -10 ) – version 1.1
In this little tip, I will help you to cut Yii size for about half

Using recaptchlib in your projects

Created 6 years ago by Antonio RamirezHow-tos2 comments – viewed 10,502 times – ( +5 / -1 ) – version 1.1
It is good when someone writes extensions for us but trust, sometimes we forget about other approaches that, if we know the library, we shouldn't forget.

Check users online, user last activity, user last ip

Created 2 years ago by frazelliHow-tos5 comments – viewed 10,498 times – ( +5 / -1 ) – version 1.1
DbHttpSession

model rules depended by user roles-permissions

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 10,482 times – ( +3 / -1 )
This is a reference about model validators and user roles. In many cases we want model validators to applied only for some privileged users or not

Using phpseclib with Yii

Created 4 years ago by nkdHow-tos8 comments – viewed 10,311 times – ( +2 / -1 ) – version 1.1
I installed phpseclib because I needed to do some AES encryption in my project. After all the hassle of installing php lib, I found out that Yii already has a security module (securityManager). I finally decided to keep using phpseclib because it has one big advantage over Yii securityManager module, it does not requite mcrypt to be installed in the phpserver!
tags: security

two or more different collected data in one CGridView

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos2 comments – viewed 10,268 times – ( +3 / -2 ) – version 1.1
Assume that you have teachers and students model.