PHP 클래스 Scalr\Model\Entity\RoleCategory

부터: 5.4.0 (05.03.2015)
저자: Vitaliy Demidov ([email protected])
상속: extends Scalr\Model\AbstractEntity, implements Scalr\DataType\ScopeInterface, implements Scalr\DataType\AccessPermissionsInterface
파일 보기 프로젝트 열기: scalr/scalr 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$accountId integer The identifier of the client's account
$envId integer The identifier of the Environment
$id integer Identifier of the Role Category
$name string The name of the Role Category

공개 메소드들

메소드 설명
getScope ( )
getUsed ( ) : integer | false Returns category usage
hasAccessPermissions ( $user, $environment = null, $modify = null )

메소드 상세

getScope() 공개 메소드

또한 보기: Scalr\DataType\ScopeInterface::getScope()
public getScope ( )

getUsed() 공개 메소드

Returns category usage
public getUsed ( ) : integer | false
리턴 integer | false Number of roles using this category or false

hasAccessPermissions() 공개 메소드

또한 보기: Scalr\DataType\AccessPermissionsInterface::hasAccessPermissions()
public hasAccessPermissions ( $user, $environment = null, $modify = null )

프로퍼티 상세

$accountId 공개적으로 프로퍼티

The identifier of the client's account
public int $accountId
리턴 integer

$envId 공개적으로 프로퍼티

The identifier of the Environment
public int $envId
리턴 integer

$id 공개적으로 프로퍼티

Identifier of the Role Category
public int $id
리턴 integer

$name 공개적으로 프로퍼티

The name of the Role Category
public string $name
리턴 string