SQL Server YII DataProvider: Alternative MS SQL Server data provider for YII

Recommend this page to a friend!
  Info   View files Documentation   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 19 All time: 10,403 This week: 258Up
Version License PHP version Categories
ms-active-data-provi 1MIT/X Consortium ...5PHP 5, Databases, Design Patterns
Description Author

This package is an alternative MS SQL Server data provider for YII.

It extends the YII framework base active data provider class to define how to fetch data for SQL server database queries with given criteria and pagination support.

The package also comes with an example active record class that can be used to show how to perform the necessary queries to retrieve data from the database using implicitly the data provider class from this package.

Picture of Thiago Przyczynski
  Performance   Level  
Name: Thiago Przyczynski <contact>
Classes: 13 packages by
Country: Brazil Brazil
Age: 32
All time rank: 3353257 in Brazil Brazil
Week rank: 132 Up3 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 6x

Details

Yii SQL Server Active Data Provider

This package contains an Active Data Provider to be used instead of Yii 1 builtin CActiveDataProvider to fix the "weird" pagination when using a MS Sql Server database in the Active Records classes.

Installation and Usage

Basically you just need to download this package and put MSActiveDataProvider in the application.components folder (by default: protected/components). After that you may use it in any CModel based class, for instance replacing any call of CActiveDataProvider for MSActiveDataProvider.

Example

You can check the User model sample.

  Files folder image Files  
File Role Description
Files folder imageexample (1 file)
Plain text file MSActiveDataProvider.php Class Class source
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  example  
File Role Description
  Plain text file User.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:19
This week:0
All time:10,403
This week:258Up
For more information send a message to info at phpclasses dot org.