PHP 클래스 Scalr\Stats\CostAnalytics\Events\AbstractEvent

부터: 5.0
저자: Vlad Dobrovolskiy ([email protected])
파일 보기 프로젝트 열기: scalr/scalr 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$ccs array Cost Centers array
$environment Scalr_Environment Current environment
$message string Event message
$messageToHash string Message for hashing
$projects array Projects array
$timelineEvent Scalr\Stats\CostAnalytics\Entity\TimelineEventEntity Generated event
$user Scalr_Account_User User who fires an event

공개 메소드들

메소드 설명
__construct ( ) Constructor
fire ( ) : boolean Fires an event
getUserEmail ( ) : string Gets email address of the user who fires an event

비공개 메소드들

메소드 설명
callbackFilter ( mixed $value ) : boolean Filter identifiers callback

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( )

fire() 공개 메소드

Fires an event
public fire ( ) : boolean
리턴 boolean Returns true if a new record has been added

getUserEmail() 공개 메소드

Gets email address of the user who fires an event
public getUserEmail ( ) : string
리턴 string

프로퍼티 상세

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

Cost Centers array
protected array $ccs
리턴 array

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

Current environment
protected Scalr_Environment $environment
리턴 Scalr_Environment

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

Event message
protected string $message
리턴 string

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

Message for hashing
protected string $messageToHash
리턴 string

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

Projects array
protected array $projects
리턴 array

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

Generated event
protected TimelineEventEntity,Scalr\Stats\CostAnalytics\Entity $timelineEvent
리턴 Scalr\Stats\CostAnalytics\Entity\TimelineEventEntity

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

User who fires an event
protected Scalr_Account_User $user
리턴 Scalr_Account_User