Showing 101-120 of 652 items.

Alternative wildcard characters CDbCriteria

Created 14 years ago by maigret maigret, updated 14 years ago by maigret maigret. 0 comments

In SQL, wildcard characters can be used in "LIKE" expressions; the percent sign (%) matches zero or more characters, and underscore (_) a single character. Sometimes users are not familiar with these or they are using different ones like (*) and (+) similar to regular expressions. My colleages do so and then i decided to add this feature by extending CbCriteria. Especially adding a new parameter $...

1 0
2
Viewed: 14 098 times
Version: 1.1
Category: How-tos

Saving CGridView filter

Created 12 years ago by sefburhan sefburhan, updated 12 years ago by CeBe CeBe. 5 comments

In this tutorial we will try to save cgridview filter(search) with title etc. basically we want to save two forms data i.e one represents filters and other data about filters like title, description etc. You can define your own structure for filter saving table here are some basic steps

1 0
31
Viewed: 16 821 times
Version: 1.1
Category: Tutorials

Configuring Yii to run on both Windows and OSX

Created 12 years ago by trond trond, updated 12 years ago by CeBe CeBe. 2 comments

If you develop your Yii project on both Windows and Mac, there can be a problem setting up the configuration unless the configurations for both system are identical. On my machines I have the following configurations:

1 0
4
Viewed: 17 073 times
Version: 1.1
Category: How-tos

Custom Archive in Blog system

Created 14 years ago by nirmalroka nirmalroka, updated 14 years ago by nirmalroka nirmalroka. 0 comments

Hi I had made simple archive system for blog system that can handle tbl_post. I had used simple CDbCriteria not more than that. I know there is more and many better way to this but I think this will give some idea to users to generate new idea or customized or modified this version of code.

1 0
2
Viewed: 13 379 times
Version: 1.1
Category: Tips

Increasing AR performance in connections with Oracle

Created 15 years ago by Trejder Trejder, updated 14 years ago by igorsantos07 igorsantos07. 14 comments

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.

1 0
15
Viewed: 63 070 times
Version: 1.1
Category: How-tos

Attaching multiple event handlers to onBeginRequest

Created 12 years ago by Boaz Boaz, updated 12 years ago by CeBe CeBe. 0 comments

There came the need to perform two operations, always, on 'application boot' time. Example? My real world example involved some geo-location logic (that's the first operation) and syncing of some session details so KcFinder can be in sync with the user in context - each user with his own session container (the second).

1 0
2
Viewed: 18 996 times
Version: 1.1
Category: How-tos