Wiki

Displaying 511-520 of 753 result(s).

Using events with CAction classes

Created 3 years ago by Antonio RamirezTips0 comments – viewed 12,532 times – ( +9 ) – version 1.1
There are some good guides out there explaining how to work with events and the ways to attach them to your components, but none (that I know) explain the following way to configure your events with CAction classes on your controllers the following way.

Como trasponer una lista creada con CHtml::checkBoxList

Created 3 years ago by rdjteamTips3 comments – viewed 10,594 times – ( +2 ) – version 1.1
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:

CPhpAuthManager - how it works, and when to use it

Created 3 years ago by dckurushinHow-tos5 comments – viewed 20,982 times – ( +1 / -4 ) – version 1.1
Before reading this article, you should first learn this How to setup RBAC with a php file

Special $variables in CGridView and CListView

Created 3 years ago by Steve FriedlTips11 comments – viewed 53,012 times – ( +27 / -2 ) – version 1.1
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.

Reliable Alternative For Yii::app()->request->isAjaxRequest AND Adding Data To Ajax Form With JS

Created 3 years ago by ibo_sHow-tos2 comments – viewed 41,355 times – ( +15 / -1 ) – version 1.1
In this How-To I'll show you:

Yii for beginners

Created 3 years ago by rackyczTutorials13 comments – viewed 254,254 times – ( +97 ) – version 1.1
Hi. This is first article with my Yii tutorial. I had to split it into more articles as there's limited length of texts on Wiki. So once you understand basics, you can read next article here: Yii for beginners 2.

Understanding the view rendering flow

Created 3 years ago by dckurushinFAQs16 comments – viewed 162,138 times – ( +94 / -3 ) – version 1.1
There is a lot of confusion surrounding what is happening behind the scenes when you render a view.

Adding search to Yii blog example (using Zend Lucene)

Created 3 years ago by dckurushinTutorials21 comments – viewed 66,360 times – ( +33 / -3 ) – version 1.1
For this tutorial I will add a search to the blog demo. The search would be based on Zend Lucene.

how to use github (un)official extension repo in your Yii project

Created 3 years ago by RusAlexTips4 comments – viewed 7,763 times – ( +4 ) – version 1.1
Using a git submodule command in your yii project

free PHP IDE CodeLobster supports Yii framework

Created 3 years ago by clodTutorials0 comments – viewed 13,282 times – ( +5 ) – version 1.1
This page is created to supply short directions and general tips for managing a Yii application in Codelobster PHP Edition.