PHP 클래스 Prado\TService

TService implements the basic methods required by IService and may be used as the basic class for application services.
부터: 3.0
저자: Qiang Xue ([email protected])
상속: extends TApplicationComponent, implements prado\IService
파일 보기 프로젝트 열기: pradosoft/prado

공개 메소드들

메소드 설명
getEnabled ( ) : boolean
getID ( ) : string
init ( $config ) Initializes the service and attaches {@link run} to the RunService event of application.
run ( ) Runs the service.
setEnabled ( $value )
setID ( $value )

메소드 상세

getEnabled() 공개 메소드

public getEnabled ( ) : boolean
리턴 boolean whether the service is enabled

getID() 공개 메소드

public getID ( ) : string
리턴 string id of this service

init() 공개 메소드

This method is required by IService and is invoked by application.
public init ( $config )

run() 공개 메소드

Runs the service.
public run ( )

setEnabled() 공개 메소드

public setEnabled ( $value )

setID() 공개 메소드

public setID ( $value )