PHP 클래스 Migrate, 68kb

상속: extends CI_Controller
파일 보기 프로젝트 열기: 68kb/68kb 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$_ci
$error
$migrations_enabled
$migrations_path
$verbose

공개 메소드들

메소드 설명
__construct ( )
install ( ) : void Installs the schema up to the last version
setverbose ( $state )
version ( $version ) : void Migrate to a schema version

비공개 메소드들

메소드 설명
_get_db_schema_version ( ) : integer Retrieves current schema version of the db
_get_schema_version ( ) : integer Retrieves current schema version
_update_schema_version ( $schema_version ) : void Stores the current schema version

메소드 상세

__construct() 공개 메소드

public __construct ( )

install() 공개 메소드

Installs the schema up to the last version
public install ( ) : void
리턴 void Outputs a report of the installation

setverbose() 공개 메소드

public setverbose ( $state )

version() 공개 메소드

Calls each migration step required to get to the schema version of choice
public version ( $version ) : void
$version integer Target schema version
리턴 void Outputs a report of the migration

프로퍼티 상세

$_ci 공개적으로 프로퍼티

public $_ci

$error 공개적으로 프로퍼티

public $error

$migrations_enabled 공개적으로 프로퍼티

public $migrations_enabled

$migrations_path 공개적으로 프로퍼티

public $migrations_path

$verbose 공개적으로 프로퍼티

public $verbose