PHP 클래스 Scalr\Model\Entity\CloudCredentials

저자: N.V.
상속: extends Scalr\Model\AbstractEntity, implements Scalr\DataType\ScopeInterface, implements Scalr\DataType\AccessPermissionsInterface
파일 보기 프로젝트 열기: scalr/scalr 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$_envBinds EnvironmentCloudCredentials[] Environments bindings
$_properties Scalr\Model\Collections\SettingsCollection Cloud credentials properties collection
$accountId integer Account id
$cloud string Cloud name
$description string Description
$envId integer Environment id
$id string CLoud credentials unique id
$name string Cloud credential name
$status string Cloud credentials status

공개 메소드들

메소드 설명
__clone ( ) Reset cloud credentials id on clone
__get ( string $name ) : mixed Magic getter.
bindEnvironment ( integer $envId ) : EnvironmentCloudCredentials Sets environment binding
bindToEnvironment ( Scalr_Environment $environment ) : CloudCredentials Binds current cloud credential to environment
cache ( ) Cache self in specified container
delete ( )
getEnabledStatuses ( ) : array Gets statuses logically considered as "enabled"
getScope ( )
getSettingCriteria ( string $name, string $value = null, array $criteria = null ) : array Gets filter criteria by the setting
hasAccessPermissions ( $user, $environment = null, $modify = null )
isEnabled ( ) : boolean Indicates whether cloud credentials are enabled
isUsed ( )
release ( ) Releases cached self in DI
save ( )

메소드 상세

__clone() 공개 메소드

Reset cloud credentials id on clone
public __clone ( )

__get() 공개 메소드

Gets the values of the properties that require initialization.
public __get ( string $name ) : mixed
$name string Property name
리턴 mixed Requested property

bindEnvironment() 공개 메소드

Sets environment binding
public bindEnvironment ( integer $envId ) : EnvironmentCloudCredentials
$envId integer Environment identifier
리턴 EnvironmentCloudCredentials Returns new binding

bindToEnvironment() 공개 메소드

Binds current cloud credential to environment
public bindToEnvironment ( Scalr_Environment $environment ) : CloudCredentials
$environment Scalr_Environment Environment which linked credentials
리턴 CloudCredentials

cache() 공개 메소드

Cache self in specified container
public cache ( )

delete() 공개 메소드

또한 보기: AbstractEntity::delete()
public delete ( )

getEnabledStatuses() 공개 정적인 메소드

Gets statuses logically considered as "enabled"
public static getEnabledStatuses ( ) : array
리턴 array

getScope() 공개 메소드

또한 보기: ScopeInterface::getScope()
public getScope ( )

getSettingCriteria() 공개 메소드

Gets filter criteria by the setting
public getSettingCriteria ( string $name, string $value = null, array $criteria = null ) : array
$name string Setting name
$value string optional Setting value
$criteria array optional Criteria, if already exists
리턴 array Returns extended criteria

hasAccessPermissions() 공개 메소드

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

isEnabled() 공개 메소드

Indicates whether cloud credentials are enabled
public isEnabled ( ) : boolean
리턴 boolean Returns true if cloud credentials consider as enabled, false otherwise

isUsed() 공개 메소드

public isUsed ( )

release() 공개 메소드

Releases cached self in DI
public release ( )

save() 공개 메소드

또한 보기: AbstractEntity::save()
public save ( )

프로퍼티 상세

$_envBinds 공개적으로 프로퍼티

Environments bindings
public EnvironmentCloudCredentials[] $_envBinds
리턴 EnvironmentCloudCredentials[]

$_properties 공개적으로 프로퍼티

Cloud credentials properties collection
public SettingsCollection,Scalr\Model\Collections $_properties
리턴 Scalr\Model\Collections\SettingsCollection

$accountId 공개적으로 프로퍼티

Account id
public int $accountId
리턴 integer

$cloud 공개적으로 프로퍼티

Cloud name
public string $cloud
리턴 string

$description 공개적으로 프로퍼티

Description
public string $description
리턴 string

$envId 공개적으로 프로퍼티

Environment id
public int $envId
리턴 integer

$id 공개적으로 프로퍼티

CLoud credentials unique id
public string $id
리턴 string

$name 공개적으로 프로퍼티

Cloud credential name
public string $name
리턴 string

$status 공개적으로 프로퍼티

Cloud credentials status
public string $status
리턴 string