Wiki

Sorted by commentsX
Displaying 61-70 of 784 result(s).

Increasing AR performance in connections with Oracle

Created 6 years ago by TrejderHow-tos14 comments – viewed 25,967 times – ( +2 / -1 ) – version 1.1
Please, note. This article is entirely based on a work done by me colleague developer, who hasn't got account on this webpage and also hasn't got time for writing this article. I'm writing it for him. I will try to forward him any comments that may appear, but can't assure if/when he'll be able to answer. I'm far, far less experienced in Oracle therefore I won't probably be able to help myself.

Create your own Validation Rule

Created 6 years ago by nickcvHow-tos14 comments – viewed 201,513 times – ( +76 / -4 ) – version 1.1
Some times the core validation rules provided by Yii won't satisfy all your needs, so you'll need to create your very own validation rule.

CGridView: Render customized/complex datacolumns

Created 5 years ago by JobloTips13 comments – viewed 152,349 times – ( +74 / -1 ) – version 1.1
If you have to display a overview of related data in a table, you can use the CListView, create your view with table/tr/td tags and implement db-queries in the view to display detaildata of the current (master-)record.
tags: CGridView

Actions code reuse with CAction

Created 6 years ago by Antonio RamirezHow-tos13 comments – viewed 42,751 times – ( +36 / -1 ) – version 1.1
We all know how good 'gii' automates the code for us and we normally tend to be happy with what that tool offers at the beginning of our Yii learning curve. But as soon as you start working in larger and larger projects, you realize that its code is too repetitive to maintain and having a small pitfall in general actions means to go over and over through them to fix the issues.
tags: CAction, Tutorial

Drills : Search by a HAS_MANY relation in Yii 1.1

Created 4 years ago by softarkTutorials13 comments – viewed 49,576 times – ( +34 / -1 ) – version 1.1
Sometimes we get lost trying to search by a HAS_MANY relation using CActiveRecord or CActiveDataProvider in Yii 1.1. This article is a series of drills that try to describe the practical techniques of searching by a HAS_MANY relation.

Yii for beginners

Created 5 years ago by rackyczTutorials13 comments – viewed 305,593 times – ( +99 / -1 ) – 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.

CGridView: Update/create records in a CJuiDialog

Created 5 years ago by JobloTips12 comments – viewed 49,078 times – ( +14 / -1 ) – version 1.1
My article Display the full record in a CJuiDialog uses ajax to view a record in dialog on clicking the 'view-icon'.

Understanding Scenarios

Created 5 years ago by Luke JurgsTutorials12 comments – viewed 130,686 times – ( +31 / -1 ) – version 1.1
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.

Yii User and Rights Implementation

Created 4 years ago by Rajith RHow-tos12 comments – viewed 27,744 times – ( +7 / -8 ) – version 1.1
implementing some features of yii user and rights.

How to work with flash messages

Created 8 years ago by pfthTutorials12 comments – viewed 282,081 times – ( +60 / -1 ) – version 1.1
Set your messages in a controller: