Wiki

Sorted by ratingX
Displaying 401-410 of 786 result(s).

How to use EzComponents in Yii

Created 6 years ago by EhsanjsHow-tos0 comments – viewed 9,404 times – ( +5 / -1 ) – version 1.1
change your index.php

Patching PHP code (used as a library) without changing the original code!

Created 4 years ago by le_topTips0 comments – viewed 7,091 times – ( +5 / -1 ) – version 1.1
The article Fixing extensions without modifying their code reminded me of another patching technique that I used. My conviction and a hard look on the web had led me to an article Redefine PHP class methods or class giving me a head start to do what I wanted: patching third party code without touching the original to allow easy upgrades.
tags: patch, patching

using jqbargraph to create beautiful graphs

Created 4 years ago by MAHESH.E.UTips1 comment – viewed 8,700 times – ( +5 / -1 ) – version 1.1
If you are about to create a graph, the best option i would suggest is the jqbargraph.

Using updateAll and deleteAll with scopes

Created 3 years ago by le_topHow-tos4 comments – viewed 29,942 times – ( +5 / -1 ) – version 1.1
Using CActiveRecord->updateAll() and CActiveRecord->deleteAll() with scopes and criteria requires some tricks that are explained in this article. While findAll() , find() and some other methods use scopes automatically, updateAll() and deleteAll() do not.

Alternative folder structure for a standard Yii app

Created 4 years ago by TrejderHow-tos4 comments – viewed 15,270 times – ( +5 / -1 ) – version 1.1
I found a standard Yii app's protected folder structure nearly perfect. With a few simple moves and a little bit change to the code, I managed to bring it to the level, which I found as fully perfect. I want to share my point of view, in case someone would like to use this structure as well.

CGridView: Adding behaviors from configuration, and template items from behaviors to CGridView

Created 4 years ago by le_topTips0 comments – viewed 10,211 times – ( +5 / -1 ) – version 1.1
Changing the way a CGridView is rendered from the configuration file, or through behaviors specified at the moment it is used, is handy to extend a CGridView without creating tons of different classes for it. I am surprised that this is not in the default implementation, so I made my default CGridView implementation.

Implementing a WebDAV server using SabreDAV

Created 4 years ago by nineinchnickTutorials6 comments – viewed 25,457 times – ( +5 / -1 )
This article will show you how to easily implement a WebDAV server in your project using SabreDAV.

Debugging CActiveRecord failed save() attempts

Created 4 years ago by BoazTips0 comments – viewed 23,795 times – ( +5 / -1 ) – version 1.1
When you're filling up a form of a CActiveRecord (using CActiveForm for example), usually you'll construct your code so that in case of validation error you'll get back the form with the error displayed back to you, typically when CActiveForm.errorSummary() is used. This is how its done by Gii.

Check users online, user last activity, user last ip

Created 3 years ago by frazelliHow-tos5 comments – viewed 11,588 times – ( +5 / -1 ) – version 1.1
DbHttpSession

free PHP IDE CodeLobster supports Yii framework

Created 6 years ago by clodTutorials0 comments – viewed 15,265 times – ( +5 / -1 ) – version 1.1
This page is created to supply short directions and general tips for managing a Yii application in Codelobster PHP Edition.