Wiki

Sorted by viewsX
Displaying 371-380 of 707 result(s).

More security in your applications with Yii and PHPIDS

Created 3 years ago by Rafael GarciaHow-tos1 comment – viewed 11,608 times – ( +8 ) – version 1.1
PHPIDS is a well known project that can be found in php-ids.org.
tags: phpids, security

CSV Export

Created 2 years ago by JohnPollardHow-tos5 comments – viewed 11,554 times – ( +4 ) – version 1.1
I needed a csv export function for my cgridview and I wanted to export the entire result set of the sorted and filtered cgridview the user was viewing via ajax.
tags: csv, export

How to re enable logging during unit testing

Created 2 years ago by AsgarothHow-tos3 comments – viewed 11,550 times – ( +11 ) – version 1.1
Some of you have experienced the need to log some information while doing unit testing, due to the fact that the information given in the summary is just not enough, to know why the test is actually failing. this article focuses on 2 ways to get you logs up and running again.

Open Dialog from ajax content

Created about a year ago by TouzasHow-tos1 comment – viewed 11,541 times – ( +4 / -1 ) – version 1.1
This tutorial will show you how to create Ajax dialog. It's very simple code.

Implementing a WebDAV server using SabreDAV

Created about a year ago by nineinchnickTutorials5 comments – viewed 11,462 times – ( +5 )
This article will show you how to easily implement a WebDAV server in your project using SabreDAV.

i18n for your model in just 1 line

Created 4 years ago by mintaoTutorials0 comments – viewed 11,399 times – ( +12 ) – version 1.1
A simple trick to get the localized version of a model field is to add this little method to your models.
tags: i18n

Update a part of content using AJAX when select a GridView row

Created 11 months ago by KonApazHow-tos2 comments – viewed 11,377 times – ( +4 ) – version 1.1
Suppose you want to refresh a form or any content when a single row of CGridView is selected

How-To: Create Token Authenticated Web Services

Created 10 months ago by hemcHow-tos1 comment – viewed 11,375 times – ( +8 ) – version 1.1
This article is about implementing authentication to Yii based web services.

How to make customizable Db Table prefixes using ActiveRecord

Created 5 years ago by killermonkTutorials0 comments – viewed 11,317 times – version 1.1
Note: As of Yii 1.1.x this functionality is integrated into the framework. If you are using 1.1.x please disregard this article and use the built-in functionality.

Using Grunt for deploying client scripts

Created about a year ago by Chris83How-tos8 comments – viewed 11,291 times – ( +11 ) – version 1.1
For a long time I have struggled to find a suitable tool for doing server tasks such as compiling LESS files, concatenating and minifying of JavaScript files and copying the minified JavaScript files. While most of these tasks can be done with Yii extensions I would still not recommend using them because it requires you to include these extensions in your project, and therefore also deploying them in your production environment.