ActiveRecord.php 426 Bytes
Newer Older
Qiang Xue committed
1 2 3
<?php
/**
 * @link http://www.yiiframework.com/
Qiang Xue committed
4
 * @copyright Copyright (c) 2008 Yii Software LLC
Qiang Xue committed
5 6 7 8 9
 * @license http://www.yiiframework.com/license/
 */

namespace yiiunit\data\ar;

Qiang Xue committed
10
use yii\db\Connection;
Qiang Xue committed
11 12 13 14 15 16 17

/**
 * ActiveRecord is ...
 *
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @since 2.0
 */
Qiang Xue committed
18
class ActiveRecord extends \yii\db\ActiveRecord
Qiang Xue committed
19 20 21
{
	public static $db;

Qiang Xue committed
22
	public static function getDb()
Qiang Xue committed
23 24 25
	{
		return self::$db;
	}
Zander Baldwin committed
26
}