Wiki

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

Configuring PhpStorm IDE for Yii

Created 3 years ago by samdarkTips20 comments – viewed 67,026 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 52,262 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 125,024 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 77,605 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 10 months ago by KonApazHow-tos18 comments – viewed 8,726 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,422 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,967 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,533 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 49,061 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.

Working with CGridView in Admin Panel

Created about a year ago by vibhaJadwaniTutorials17 comments – viewed 51,773 times – ( +41 / -1 ) – version 1.1
This is a tutorial for how to add input text-Field, check-box, buttons in CGridView.