PHP 클래스 Neos\Flow\Persistence\Doctrine\Migrations\Version20130319131500

상속: extends Doctrine\DBAL\Migrations\AbstractMigration
파일 보기 프로젝트 열기: neos/flow-development-collection

공개 메소드들

메소드 설명
down ( Doctrine\DBAL\Schema\Schema $schema ) : void
up ( Doctrine\DBAL\Schema\Schema $schema ) : void

보호된 메소드들

메소드 설명
getRoleIdentifierMap ( array $map ) : array Returns the given array indexed by "old" role identifiers with the "new" identifiers added as values to their matching index.
loadRolesFromPolicyFiles ( ) : array Reads all Policy.yaml files below Packages, extracts the roles and prepends them with the package key "guessed" from the path.
migrateAccountRolesDown ( ) : void Generate SQL statements to migrate accounts down to embedded roles.
migrateAccountRolesUp ( ) : void Generate SQL statements to migrate accounts up to referenced roles.

메소드 상세

down() 공개 메소드

public down ( Doctrine\DBAL\Schema\Schema $schema ) : void
$schema Doctrine\DBAL\Schema\Schema
리턴 void

getRoleIdentifierMap() 보호된 메소드

Returns the given array indexed by "old" role identifiers with the "new" identifiers added as values to their matching index.
protected getRoleIdentifierMap ( array $map ) : array
$map array
리턴 array

loadRolesFromPolicyFiles() 보호된 메소드

Reads all Policy.yaml files below Packages, extracts the roles and prepends them with the package key "guessed" from the path.
protected loadRolesFromPolicyFiles ( ) : array
리턴 array

migrateAccountRolesDown() 보호된 메소드

Generate SQL statements to migrate accounts down to embedded roles.
protected migrateAccountRolesDown ( ) : void
리턴 void

migrateAccountRolesUp() 보호된 메소드

Generate SQL statements to migrate accounts up to referenced roles.
protected migrateAccountRolesUp ( ) : void
리턴 void

up() 공개 메소드

public up ( Doctrine\DBAL\Schema\Schema $schema ) : void
$schema Doctrine\DBAL\Schema\Schema
리턴 void