yii-simple-transaction Simple way to use transaction in Yii framework

Yii-TR

  1. Setup:
  2. Usage:

Simple class to use transaction in Yii framework

Setup:

copy transactionFactory.php under protected/components folder

Usage:

transactionFactory::beginTransaction();
transactionFactory::commit();
transactionFactory::rollback();

Why:

  • If you work with more than one model and need transaction in them,it can be useful to write less code.
  • It helps you to check transaction status.

Others:

1 0
2 followers
235 downloads
Yii Version: Unknown
License: GPL-3.0
Category: Database
Developed by: moein7tl
Created on: Feb 28, 2014
Last updated: 10 years ago

Downloads

show all

Related Extensions