You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
420 B
25 lines
420 B
13 years ago
|
<?php
|
||
|
/**
|
||
|
* @link http://www.yiiframework.com/
|
||
12 years ago
|
* @copyright Copyright (c) 2008 Yii Software LLC
|
||
13 years ago
|
* @license http://www.yiiframework.com/license/
|
||
|
*/
|
||
|
|
||
|
namespace yiiunit\data\ar;
|
||
|
|
||
|
/**
|
||
|
* ActiveRecord is ...
|
||
|
*
|
||
|
* @author Qiang Xue <qiang.xue@gmail.com>
|
||
|
* @since 2.0
|
||
|
*/
|
||
12 years ago
|
class ActiveRecord extends \yii\db\ActiveRecord
|
||
13 years ago
|
{
|
||
11 years ago
|
public static $db;
|
||
13 years ago
|
|
||
11 years ago
|
public static function getDb()
|
||
|
{
|
||
|
return self::$db;
|
||
|
}
|
||
12 years ago
|
}
|