Showing 581-600 of 826 items.

Como trasponer una lista creada con CHtml::checkBoxList

Created 14 years ago by rdjteam rdjteam, updated 14 years ago by rdjteam rdjteam. 3 comments

En ciertas ocasiones tenemos que lidiar con el tema de colocar una lista de checkboxes para hacer una seleccion especifica como es el caso de los dias de la semana para un calendario, para esta labor tenemos el comando CHtml::checkBoxList(), revisando un poco el funcionamiento de este temos los siguientes parametros:

2 0
4
Viewed: 20 905 times
Version: 1.1
Category: Tips

Special $variables in CGridView and CListView

Created 14 years ago by Steve Friedl Steve Friedl, updated 14 years ago by Steve Friedl Steve Friedl. 11 comments

The popular [CListView] and [CGridView] widgets each take a data provider and iterate over each data object produced, calling the user's code to render each row one at a time, and most are familiar with the use of the $data variable to represent the current model object or array.

23 1
33
Viewed: 81 697 times
Version: 1.1
Category: Tips

How to translate and do the translations the easy way

Created 14 years ago by Roman Solomatin Roman Solomatin, updated 10 years ago by Roman Solomatin Roman Solomatin. 3 comments

I wanted to keep all the I18N related translations in separate files, so that I would not need to modify the view files or the model files every time I need to update or fix the translations of application's source language.

Authenticating against phpass hashes with Yii

Created 14 years ago by Da:Sourcerer Da:Sourcerer, updated 12 years ago by Da:Sourcerer Da:Sourcerer. 18 comments
  • iteration_count_log2 controls the number of iterations for key stretching. A setting of 8 means the hash algorithm will be applied 2^8 = 256 times. This setting should be kept between 4 and 31.
  • portable_hashes controls whether portable hashes should be used or not. Portable hashes are salted MD5 hashes prefixed by $P$.
22 0
28
Viewed: 45 541 times
Version: 1.1
Category: How-tos