PHP 클래스 Bolt\Storage\Database\Schema\SchemaCheck

저자: Gawain Lynch ([email protected])
파일 보기 프로젝트 열기: bolt/bolt 1 사용 예제들

공개 메소드들

메소드 설명
addHint ( string $hint ) Add a hint.
addMessage ( string $tableName, string $message ) Add a message.
addTitle ( string $tableName, string $title ) Add title message.
checkDiff ( string $tableName, Doctrine\DBAL\Schema\TableDiff $diff ) Check a Comparator diff and store the messages that make it up.
getDiff ( ) : Doctrine\DBAL\Schema\TableDiff[] Get a table diffs.
getHints ( ) : array Get the hints.
getMessages ( ) : array Get the messages.
getResponseStrings ( ) : string[] Get the response messages as a string.
getTitles ( ) : array Get the message titles.
hasHints ( ) : boolean Check is there are pending hints.
hasResponses ( ) : boolean Check is there are pending responses.

비공개 메소드들

메소드 설명
addForeignKeysMessage ( string $tableName, Doctrine\DBAL\Schema\ForeignKeyConstraint $foreignKey, string $format ) Add a message for a foreign key change.
getAddedColumns ( string $tableName, Doctrine\DBAL\Schema\TableDiff $diff ) Record added columns.
getAddedForeignKeys ( string $tableName, Doctrine\DBAL\Schema\TableDiff $diff ) Record added foreign key(s).
getAddedIndexes ( string $tableName, Doctrine\DBAL\Schema\TableDiff $diff ) Record added indexes.
getChangedColumns ( string $tableName, Doctrine\DBAL\Schema\TableDiff $diff ) Record changed columns.
getChangedForeignKeys ( string $tableName, Doctrine\DBAL\Schema\TableDiff $diff ) Record changed foreign key(s).
getChangedIndexes ( string $tableName, Doctrine\DBAL\Schema\TableDiff $diff ) Record changed indexes.
getRemovedColumns ( string $tableName, Doctrine\DBAL\Schema\TableDiff $diff ) Record removed columns.
getRemovedForeignKeys ( string $tableName, Doctrine\DBAL\Schema\TableDiff $diff ) Record removed foreign key(s).
getRemovedIndexes ( string $tableName, Doctrine\DBAL\Schema\TableDiff $diff ) Record removed indexes.
getRenamedColumns ( string $tableName, Doctrine\DBAL\Schema\TableDiff $diff ) Record renamed columns.

메소드 상세

addHint() 공개 메소드

Add a hint.
public addHint ( string $hint )
$hint string

addMessage() 공개 메소드

Add a message.
public addMessage ( string $tableName, string $message )
$tableName string
$message string

addTitle() 공개 메소드

Add title message.
public addTitle ( string $tableName, string $title )
$tableName string
$title string

checkDiff() 공개 메소드

Check a Comparator diff and store the messages that make it up.
public checkDiff ( string $tableName, Doctrine\DBAL\Schema\TableDiff $diff )
$tableName string
$diff Doctrine\DBAL\Schema\TableDiff

getDiff() 공개 메소드

Get a table diffs.
public getDiff ( ) : Doctrine\DBAL\Schema\TableDiff[]
리턴 Doctrine\DBAL\Schema\TableDiff[]

getHints() 공개 메소드

Get the hints.
public getHints ( ) : array
리턴 array

getMessages() 공개 메소드

Get the messages.
public getMessages ( ) : array
리턴 array

getResponseStrings() 공개 메소드

Get the response messages as a string.
public getResponseStrings ( ) : string[]
리턴 string[]

getTitles() 공개 메소드

Get the message titles.
public getTitles ( ) : array
리턴 array

hasHints() 공개 메소드

Check is there are pending hints.
public hasHints ( ) : boolean
리턴 boolean

hasResponses() 공개 메소드

Check is there are pending responses.
public hasResponses ( ) : boolean
리턴 boolean