PHP 클래스 Scalr_Account

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

공개 프로퍼티들

프로퍼티 타입 설명
$comments
$dtAdded
$name
$priority
$status

보호된 프로퍼티들

프로퍼티 타입 설명
$dbMessageKeyNotFound
$dbPrimaryKey
$dbPropertyMap
$dbTableName

공개 메소드들

메소드 설명
checkLimit ( string $limitName, integer $limitValue ) : boolean
clearSettings ( $filter )
createEnvironment ( string $name ) : Scalr_Environment Creates a new environment assosiated with the account
createUser ( string $email, string $password, $type ) : Scalr_Account_User
delete ( $id = null )
getCostCenters ( ) : ArrayCollection Gets the list of the Cost Centers which correspond to Account
getLimits ( ) : array
getOwner ( ) : Scalr_Account_User
getSetting ( string $name ) : mixed Returns client setting value by name
getUsers ( )
init ( $className = null ) : Scalr_Account Init
initializeAcl ( ) Initializes ACL Roles for account
loadById ( $id ) : Scalr_Account
loadBySetting ( $name, $value ) : Scalr_Account
resetLimits ( ) *
setLimit ( $limitName, $limitValue )
setLimits ( array $limits )
setSetting ( string $name, mixed $value ) : Scalr_Account Set client setting
validateLimit ( string $limitName, string $limitValue )

메소드 상세

checkLimit() 공개 메소드

public checkLimit ( string $limitName, integer $limitValue ) : boolean
$limitName string
$limitValue integer
리턴 boolean

clearSettings() 공개 메소드

public clearSettings ( $filter )

createEnvironment() 공개 메소드

Creates a new environment assosiated with the account
public createEnvironment ( string $name ) : Scalr_Environment
$name string
리턴 Scalr_Environment

createUser() 공개 메소드

public createUser ( string $email, string $password, $type ) : Scalr_Account_User
$email string
$password string
리턴 Scalr_Account_User

delete() 공개 메소드

또한 보기: Scalr_Model::delete()
public delete ( $id = null )

getCostCenters() 공개 메소드

Gets the list of the Cost Centers which correspond to Account
public getCostCenters ( ) : ArrayCollection
리턴 Scalr\Model\Collections\ArrayCollection Returns collection of the entities

getLimits() 공개 메소드

public getLimits ( ) : array
리턴 array $limits

getOwner() 공개 메소드

public getOwner ( ) : Scalr_Account_User
리턴 Scalr_Account_User

getSetting() 공개 메소드

Returns client setting value by name
public getSetting ( string $name ) : mixed
$name string
리턴 mixed $value

getUsers() 공개 메소드

public getUsers ( )

init() 공개 정적인 메소드

Init
public static init ( $className = null ) : Scalr_Account
리턴 Scalr_Account

initializeAcl() 공개 메소드

Initializes ACL Roles for account
public initializeAcl ( )

loadById() 공개 메소드

public loadById ( $id ) : Scalr_Account
리턴 Scalr_Account

loadBySetting() 공개 메소드

public loadBySetting ( $name, $value ) : Scalr_Account
리턴 Scalr_Account

resetLimits() 공개 메소드

*
public resetLimits ( )

setLimit() 공개 메소드

public setLimit ( $limitName, $limitValue )

setLimits() 공개 메소드

public setLimits ( array $limits )
$limits array

setSetting() 공개 메소드

Set client setting
public setSetting ( string $name, mixed $value ) : Scalr_Account
$name string
$value mixed
리턴 Scalr_Account

validateLimit() 공개 메소드

public validateLimit ( string $limitName, string $limitValue )
$limitName string
$limitValue string

프로퍼티 상세

$comments 공개적으로 프로퍼티

public $comments

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

protected $dbMessageKeyNotFound

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

protected $dbPrimaryKey

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

protected $dbPropertyMap

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

protected $dbTableName

$dtAdded 공개적으로 프로퍼티

public $dtAdded

$name 공개적으로 프로퍼티

public $name

$priority 공개적으로 프로퍼티

public $priority

$status 공개적으로 프로퍼티

public $status