PHP Class Neos\Flow\Core\Migrations\Version20141113121400

Inheritance: extends AbstractMigration
Afficher le fichier Open project: neos/flow-development-collection

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
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

Method Details

convertEntityResourceMatcher() protected méthode

Converts the given $resourceMatcher string to the new syntax
protected convertEntityResourceMatcher ( string $entityType, string $resourceMatcher ) : string
$entityType string
$resourceMatcher string
Résultat string

expandRoleIdentifier() protected méthode

Convert a "relative" role identifier to one that includes the package key
protected expandRoleIdentifier ( string $roleIdentifier ) : string
$roleIdentifier string
Résultat string

getIdentifier() public méthode

public getIdentifier ( )

processAcls() public méthode

Removes the "acls" configuration and adds privileges to related roles
public processAcls ( array &$configuration ) : void
$configuration array
Résultat void

processResources() public méthode

Replaces the "resource" configuration by the new "privilegeTargets" syntax
public processResources ( array &$configuration ) : void
$configuration array
Résultat void

processRoles() public méthode

Replaces local role identifiers ("SomeRole") by their global representation ("Current.Package:SomeRole") and sets "parentRoles"
public processRoles ( array &$configuration ) : void
$configuration array
Résultat void

up() public méthode

public up ( ) : void
Résultat void