Wiki

Sorted by commentsX
Displaying 21-30 of 597 result(s).

Configuring PhpStorm IDE for Yii

Created 3 years ago by samdarkTips20 comments – viewed 66,474 times – ( +61 / -1 ) – version 1.1
In order to be able to get from render or renderPartial to the view, from widget to widget class, from relations to model classes you need to install additional plugin called YiiStorm.
tags: IDE, PhpStorm

Adding search to Yii blog example (using Zend Lucene)

Created 2 years ago by dckurushinTutorials20 comments – viewed 51,902 times – ( +31 / -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 write secure Yii applications

Created 2 years ago by François GannazHow-tos19 comments – viewed 123,528 times – ( +97 ) – version 1.1
warning: While this security guide tries to be quite complete, is not exhaustive. If security matters for you, you ought to check several other references.

Understanding Virtual Attributes and get/set methods

Created 3 years ago by Steve FriedlTutorials19 comments – viewed 76,964 times – ( +75 ) – version 1.1
When you define or extend a class, you can create class variables and methods in Yii just like you can in any other PHP system:

Activate captcha after unsuccessful login attempts

Created 9 months ago by KonApazHow-tos18 comments – viewed 8,553 times – ( +9 / -1 )
Like gmail, if you have tree or more unsuccessful login attemps a captcha appears

How to use Multiple instances of the same model in the same form

Created about a year ago by kiran sharmaHow-tos18 comments – viewed 21,089 times – ( +19 / -6 ) – version 1.1
When i had created this functionality then i found some difficulties and not got much idea from wiki and forums. so, i think this will be useful for newbie users and save time of other developers when create related functionality. I refer Collecting Tabular Input tutorial but not got clear idea for create/update.

Assigning dynamic roles to a user Using yii Rights module at the time of user creation and using some special advanced features of yii rights

Created about a year ago by Rajith RTips18 comments – viewed 21,605 times – ( +7 ) – version 1.1
After Installing Yii Users and Rights to Newly Created Yii app we have to assign dynamic roles to a user at the time of user creation .

Authenticating against phpass hashes with Yii

Created 2 years ago by Da:SourcererHow-tos18 comments – viewed 20,430 times – ( +26 ) – version 1.1
The Portable PHP password hashing framework allows advanced password hashing offering increased security over simple MD5- or SHA1-hashed passwords. phpass is already in use in some larger projects such as WordPress (since v2.5), Drupal 7 and phpBB 3.

How to setup RBAC with a php file

Created 4 years ago by bettorHow-tos17 comments – viewed 48,854 times – ( +26 / -4 ) – version 1.1
In this cookbook I will attempt to explain how to use the lightweight version of Role-Based Access Control using a php file. This version does not use database but a php file and is controlled by CPhpAuthManager class.

Using CButtonColumn to customize buttons in CGridView

Created 3 years ago by TrejderHow-tos17 comments – viewed 165,074 times – ( +90 ) – version 1.1
CGridView is a one of most flexible widgets in Yii and example its flexibility is CButtonColumn used to build buttons for steering model in each grid row. Here in this how-to we will explain ways user can customize CButtonColumn to flexibly fit it to its needs.