PHP 클래스 Scalr\Upgrade\Updates\Update20150505143635

상속: extends Scalr\Upgrade\AbstractUpdate, implements Scalr\Upgrade\SequenceInterface
파일 보기 프로젝트 열기: scalr/scalr

보호된 프로퍼티들

프로퍼티 타입 설명
$dbservice
$depends
$description
$ignoreChanges
$uuid

공개 메소드들

메소드 설명
getNumberStages ( )

보호된 메소드들

메소드 설명
createAclPermissionRule ( string $accountRoleId, string $permFlag, integer $resource, string $permName, boolean $isDenyRole ) Insert account level permission value
isApplied1 ( $stage )
isApplied3 ( $stage )
isApplied4 ( $stage )
isApplied5 ( $stage )
isApplied6 ( $stage )
isApplied7 ( $stage )
run1 ( $stage )
run2 ( )
run3 ( $stage )
run4 ( $stage )
run5 ( $stage )
run6 ( $stage )
run7 ( )
run8 ( )
run9 ( )
validateBefore1 ( $stage )

비공개 메소드들

메소드 설명
checkAppliedForPermission ( string $resourceName, string $permissionName ) : boolean Check if stage is applied for the specified resource and permission
createNewFullAccessPermission ( string $resourceName, string $permissionName ) Adds a new Full Access Role Permission
isGrantedAccountPermission ( string $accountRoleId, string $resourceId, string $permissionId ) : string Gets granted value for the specified permission of account level ACL role
isGrantedAccountResource ( string $accountRoleId, string $resourceId ) : string Gets granted value for the specified resource of account level ACL role
setGrantedAccountPermission ( string $accountRoleId, integer $resourceId, integer $permissionId, string $granted ) Sets granted value for the specified account level ACL permission
setGrantedAccountResource ( string $accountRoleId, integer $resourceId, string $granted ) Sets granted value for the specified account level ACL resource

메소드 상세

createAclPermissionRule() 보호된 메소드

Create allow permission if base acl role is forbidden and permFlag is allowed, and deny permission if base acl role is allowed and permFlag is denied. If permFlag is null, do nothing
protected createAclPermissionRule ( string $accountRoleId, string $permFlag, integer $resource, string $permName, boolean $isDenyRole )
$accountRoleId string The identifier of the ACL role on account
$permFlag string The permission value
$resource integer The identifier of the ACL resource
$permName string The identifier of the ACL permission
$isDenyRole boolean Whether the account level role derived from full access role

getNumberStages() 공개 메소드

public getNumberStages ( )

isApplied1() 보호된 메소드

protected isApplied1 ( $stage )

isApplied3() 보호된 메소드

protected isApplied3 ( $stage )

isApplied4() 보호된 메소드

protected isApplied4 ( $stage )

isApplied5() 보호된 메소드

protected isApplied5 ( $stage )

isApplied6() 보호된 메소드

protected isApplied6 ( $stage )

isApplied7() 보호된 메소드

protected isApplied7 ( $stage )

run1() 보호된 메소드

protected run1 ( $stage )

run2() 보호된 메소드

protected run2 ( )

run3() 보호된 메소드

protected run3 ( $stage )

run4() 보호된 메소드

protected run4 ( $stage )

run5() 보호된 메소드

protected run5 ( $stage )

run6() 보호된 메소드

protected run6 ( $stage )

run7() 보호된 메소드

protected run7 ( )

run8() 보호된 메소드

protected run8 ( )

run9() 보호된 메소드

protected run9 ( )

validateBefore1() 보호된 메소드

protected validateBefore1 ( $stage )

프로퍼티 상세

$dbservice 보호되어 있는 프로퍼티

protected $dbservice

$depends 보호되어 있는 프로퍼티

protected $depends

$description 보호되어 있는 프로퍼티

protected $description

$ignoreChanges 보호되어 있는 프로퍼티

protected $ignoreChanges

$uuid 보호되어 있는 프로퍼티

protected $uuid