PHP 클래스 yii\test\DbFixture

DbFixture provides the [[db]] connection to be used by DB fixtures. For more details and usage information on DbFixture, see the guide article on fixtures.
부터: 2.0
저자: Qiang Xue ([email protected])
상속: extends Fixture
파일 보기 프로젝트 열기: yiisoft/yii2 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$db the DB connection object or the application component ID of the DB connection. After the DbFixture object is created, if you want to change this property, you should only assign it with a DB connection object. Starting from version 2.0.2, this can also be a configuration array for creating the object.

공개 메소드들

메소드 설명
init ( )

메소드 상세

init() 공개 메소드

public init ( )

프로퍼티 상세

$db 공개적으로 프로퍼티

the DB connection object or the application component ID of the DB connection. After the DbFixture object is created, if you want to change this property, you should only assign it with a DB connection object. Starting from version 2.0.2, this can also be a configuration array for creating the object.
public $db