Wiki

Articles tagged with "understanding", sorted by commentsX
Displaying 1-10 of 11 result(s).

Understanding Virtual Attributes and get/set methods

Created 2 years ago by Steve FriedlTutorials16 comments – viewed 46,224 times – ( +64 )
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:

Understanding "Assets"

Created 2 years ago by Steve FriedlTutorials11 comments – viewed 63,712 times – ( +52 )
Many newcomers to Yii ask about the assets/ directory found under the webroot, and this article means to explain why it's there and how to work with it.

Getting to Understand Hierarchical RBAC Scheme

Created 2 years ago by daemonsTutorials10 comments – viewed 43,988 times – ( +50 )
Authentication and Authorization is a good tutorial. Among other topics, it describes basic aspects of Yii's RBAC implementation. But however hard I read the tutorial, I couldn't understand how exactly the hierarchy works. I found how to define authorization hierarchy, how business rules are evaluated, how to configure authManager, but almost nothing about how I should build my hierarchy, in what sequence its nodes are checked, when the checking process stops and what would be the checking result.

Understanding the view rendering flow

Created about a year ago by dckurushinFAQs10 comments – viewed 67,885 times – ( +65 / -1 )
There is a lot of confusion surrounding what is happening behind the scenes when you render a view.

Understanding Scenarios

Created about a year ago by Luke JurgsTutorials9 comments – viewed 35,065 times – ( +20 )
Scenarios are an extremely useful tool for separating validation tasks on any class you use derived from CModel. In this tutorial we will use CActiveRecord.

How to work with flash messages

Created 4 years ago by pfthTutorials9 comments – viewed 83,633 times – ( +48 )
Set your messages in a controller:

How to learn Yii?!

Created about a year ago by yJeroenTutorials7 comments – viewed 37,213 times – ( +16 )
Here is a step by step To-Do list for Yii beginners. The list is an advice of what tutorials and documentation you can walk through to get a full understanding of the Yii Framework. These can be a help to learn Yii.

Understanding "Safe" Validation Rules

Created 2 years ago by Steve FriedlFAQs7 comments – viewed 39,546 times – ( +72 )
A common source of confusion among new Yii users is how the 'safe' validator works, how it works with other validators, and why it's necessary in the first place. This article means to clear up this confusion, as well as explain the notion of Massive Assignment.

Understanding Autoloading, Helper Classes and Helper Functions

Created 2 years ago by Steve FriedlTutorials4 comments – viewed 36,704 times – ( +23 )
Many Yii users ask how to create helper classes and functions, and though there are numerous approaches spread out among the forum and wiki articles, this Tutorial tries to bring it all together in one place.

Understanding series articles

Created about a year ago by GOshaTips0 comments – viewed 6,213 times – ( +16 )
Here are all wiki articles from "Understanding" series by Yii wiki contributors: