PHP 클래스 DBRole

파일 보기 프로젝트 열기: scalr/scalr 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$addedByEmail
$addedByUserId
$catId
$clientId
$dateAdded
$description
$dtLastUsed
$envId
$generation
$id
$imageId
$instanceType *Temp
$isDeprecated
$isDevel
$isQuickStart
$isScalarized
$name
$origin
$osId

공개 메소드들

메소드 설명
__construct ( $id )
__getNewRoleObject ( ) : Role
clearProperties ( $filter = '' )
cloneRole ( string $newRoleName, Scalr_Account_User $user, integer $envId ) : integer
createFromBundleTask ( BundleTask $BundleTask )
getBehaviors ( )
getCategoryName ( )
getDbMsrBehavior ( )
getEnvironmentObject ( ) : Scalr_Environment
getFarmRolesCount ( integer $envId = null ) : integer Gets farm role's count
getFarms ( integer $envId = null ) : array Gets an array of farms' ids
getOs ( ) : Scalr\Model\Entity\Os
getProperties ( $filter = '' )
getProperty ( $name )
getScripts ( )
getSecurityRules ( )
hasBehavior ( $behavior )
loadByFilter ( array $filter )
loadById ( integer $id ) : DBRole
remove ( )
save ( )
setBehaviors ( $behaviors )
setProperties ( $properties )
setProperty ( $name, $value )
setScripts ( array $scripts )
syncAnalyticsTags ( ) Synchronizes analytics role related tags

비공개 메소드들

메소드 설명
getVersionInfo ( $v )

메소드 상세

__construct() 공개 메소드

public __construct ( $id )

__getNewRoleObject() 공개 메소드

public __getNewRoleObject ( ) : Role
리턴 Scalr\Model\Entity\Role

clearProperties() 공개 메소드

public clearProperties ( $filter = '' )

cloneRole() 공개 메소드

public cloneRole ( string $newRoleName, Scalr_Account_User $user, integer $envId ) : integer
$newRoleName string
$user Scalr_Account_User
$envId integer
리턴 integer

createFromBundleTask() 공개 정적인 메소드

public static createFromBundleTask ( BundleTask $BundleTask )
$BundleTask BundleTask

getBehaviors() 공개 메소드

public getBehaviors ( )

getCategoryName() 공개 메소드

public getCategoryName ( )

getDbMsrBehavior() 공개 메소드

public getDbMsrBehavior ( )

getEnvironmentObject() 공개 메소드

public getEnvironmentObject ( ) : Scalr_Environment
리턴 Scalr_Environment Enter description here ...

getFarmRolesCount() 공개 메소드

Gets farm role's count
public getFarmRolesCount ( integer $envId = null ) : integer
$envId integer optional Current enviroment id
리턴 integer Returns farm role's count which uses current role

getFarms() 공개 메소드

Gets an array of farms' ids
public getFarms ( integer $envId = null ) : array
$envId integer optional Current enviroment id
리턴 array Returns array of farms' ids which uses current role

getOs() 공개 메소드

public getOs ( ) : Scalr\Model\Entity\Os
리턴 Scalr\Model\Entity\Os

getProperties() 공개 메소드

public getProperties ( $filter = '' )

getProperty() 공개 메소드

public getProperty ( $name )

getScripts() 공개 메소드

public getScripts ( )

getSecurityRules() 공개 메소드

public getSecurityRules ( )

hasBehavior() 공개 메소드

public hasBehavior ( $behavior )

loadByFilter() 공개 정적인 메소드

public static loadByFilter ( array $filter )
$filter array

loadById() 공개 정적인 메소드

public static loadById ( integer $id ) : DBRole
$id integer
리턴 DBRole

remove() 공개 메소드

사용 중단:
public remove ( )

save() 공개 메소드

public save ( )

setBehaviors() 공개 메소드

public setBehaviors ( $behaviors )

setProperties() 공개 메소드

public setProperties ( $properties )

setProperty() 공개 메소드

public setProperty ( $name, $value )

setScripts() 공개 메소드

public setScripts ( array $scripts )
$scripts array

syncAnalyticsTags() 공개 메소드

Synchronizes analytics role related tags
public syncAnalyticsTags ( )

프로퍼티 상세

$addedByEmail 공개적으로 프로퍼티

public $addedByEmail

$addedByUserId 공개적으로 프로퍼티

public $addedByUserId

$catId 공개적으로 프로퍼티

public $catId

$clientId 공개적으로 프로퍼티

public $clientId

$dateAdded 공개적으로 프로퍼티

public $dateAdded

$description 공개적으로 프로퍼티

public $description

$dtLastUsed 공개적으로 프로퍼티

public $dtLastUsed

$envId 공개적으로 프로퍼티

public $envId

$generation 공개적으로 프로퍼티

public $generation

$id 공개적으로 프로퍼티

public $id

$imageId 공개적으로 프로퍼티

public $imageId

$instanceType 공개적으로 프로퍼티

*Temp
public $instanceType

$isDeprecated 공개적으로 프로퍼티

public $isDeprecated

$isDevel 공개적으로 프로퍼티

public $isDevel

$isQuickStart 공개적으로 프로퍼티

public $isQuickStart

$isScalarized 공개적으로 프로퍼티

public $isScalarized

$name 공개적으로 프로퍼티

public $name

$origin 공개적으로 프로퍼티

public $origin

$osId 공개적으로 프로퍼티

public $osId