Wiki

Sorted by commentsX
Displaying 431-440 of 482 result(s).

An important tip when you are using CArrayDataProvider.

Created 9 months ago by sirin kTips0 comments – viewed 3,944 times – ( +5 / -1 )
Yii ‘s CArrayDataProvider is very helpful to display model relation data's directly on it.But it is truely a confusing one because by default it will assume a table field named “id” as primary key for its pagination purpose and what if you dont have field named “id” as primary key on your table? so its truely confusing and if you tried to display without an “id” field on ur table you will get an error like “yourmodel.id is not defined”.

Setting up PHPUnit and Selenium with IntelliJ IDEA/PhpStorm

Created 9 months ago by rAWTAZHow-tos0 comments – viewed 9,885 times – ( +5 )
This article intends to summarize the steps taken to set up PHPUnit and Selenium for a Yii project, with IntelliJ IDEA Ultimate (the IDE). It was done on Mac OS X 10.6.

belajar AR : part 1 (learn AR : part 1)

Created 2 years ago by riandayTutorials0 comments – viewed 5,336 times
hai teman yii... apa kabar.. kembali lagi bersama catatan saya..
tags: indonesia

Mais segurança em suas aplicações com Yii e PHPIDS

Created 2 years ago by Rafael GarciaHow-tos0 comments – viewed 4,848 times – ( +2 / -1 )
PHPIDS é conhecido projeto que pode ser visto em php-ids.org.
tags: phpids, security

Catching bounce messages (NDR) and piping them to a Yii command

Created 9 months ago by bennounaTutorials0 comments – viewed 3,410 times – ( +1 )
In order to avoid bounce messages and unsolicited registrations, most webapps send automatic activation emails upon user registration, and the account remain inactive as long as it is not activated. Better yet, you can periodically purge your data by removing accounts that have not yet been activated.

Creating Yii applications with composer

Created 8 months ago by schmunkTutorials0 comments – viewed 13,576 times – ( +19 )
Creating Yii applications with composer

[pt-br] O guia de estudos do Yii para iniciantes

Created 8 months ago by Rodrigo CoelhoTips0 comments – viewed 3,024 times – ( +1 )
You can find the english version of this wiki here: The complete beginner's study guide for the Yii Framework.

Setting static modules' properties in config

Created 8 months ago by Alexander PalamarchukTips0 comments – viewed 2,922 times – ( +2 / -2 )
You may face a situation when you need to access to a configurable module's property from everywhere and you don't have an instance of this module's class.
tags: config, module

Create custom button button with AJAX function in CGridView

Created 7 months ago by nkdHow-tos0 comments – viewed 10,999 times – ( +5 )
CButtonColumn in CGridView can be customised to include user built buttons. To learn a great deal about including custom buttons, read this excellent wiki. This tutorial will show how to call an action from one custom button using AJAX instead of regular GET calls.

pass variables or content block from view file to layout file

Created 7 months ago by yiqing95How-tos0 comments – viewed 5,609 times – ( +1 )
If you use yiic to generate webApplication there will be a layout folder under the protected/views/, and the Controller class under protected/components which will use by default these layouts files.