PHP Класс Neos\Flow\Core\Migrations\Version20141113121400

Наследование: extends AbstractMigration
Показать файл Открыть проект

Открытые методы

Метод Описание
getIdentifier ( )
processAcls ( array &$configuration ) : void Removes the "acls" configuration and adds privileges to related roles
processResources ( array &$configuration ) : void Replaces the "resource" configuration by the new "privilegeTargets" syntax
processRoles ( array &$configuration ) : void Replaces local role identifiers ("SomeRole") by their global representation ("Current.Package:SomeRole") and sets "parentRoles"
up ( ) : void

Защищенные методы

Метод Описание
convertEntityResourceMatcher ( string $entityType, string $resourceMatcher ) : string Converts the given $resourceMatcher string to the new syntax
expandRoleIdentifier ( string $roleIdentifier ) : string Convert a "relative" role identifier to one that includes the package key

Описание методов

convertEntityResourceMatcher() защищенный Метод

Converts the given $resourceMatcher string to the new syntax
protected convertEntityResourceMatcher ( string $entityType, string $resourceMatcher ) : string
$entityType string
$resourceMatcher string
Результат string

expandRoleIdentifier() защищенный Метод

Convert a "relative" role identifier to one that includes the package key
protected expandRoleIdentifier ( string $roleIdentifier ) : string
$roleIdentifier string
Результат string

getIdentifier() публичный Метод

public getIdentifier ( )

processAcls() публичный Метод

Removes the "acls" configuration and adds privileges to related roles
public processAcls ( array &$configuration ) : void
$configuration array
Результат void

processResources() публичный Метод

Replaces the "resource" configuration by the new "privilegeTargets" syntax
public processResources ( array &$configuration ) : void
$configuration array
Результат void

processRoles() публичный Метод

Replaces local role identifiers ("SomeRole") by their global representation ("Current.Package:SomeRole") and sets "parentRoles"
public processRoles ( array &$configuration ) : void
$configuration array
Результат void

up() публичный Метод

public up ( ) : void
Результат void