PHP 클래스 ApiController

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

보호된 프로퍼티들

프로퍼티 타입 설명
$general_tags
$output_format
$profile_tags
$security_tags
$xml_error_map

공개 메소드들

메소드 설명
actionBadRequest ( )
actionConformance ( ) WhOLE SYSTEM INTERACTIONS
actionCreate ( string $resource_type ) Create resource.
actionDelete ( string $resource_type, string $id ) Delete resource.
actionRead ( string $resource_type, string $id ) Read (view) resource.
actionSearch ( $resource_type ) Search for resource(s).
actionUpdate ( string $resource_type, string $id ) Update resource.
actionVread ( string $resource_type, string $id, string $vid ) Read (view) previous version of resource.
beforeAction ( $action )
handleError ( CErrorEvent $event )
handleException ( CExceptionEvent $event )

보호된 메소드들

메소드 설명
getRef ( $resource_type, $id )
parseInput ( )
sendBundle ( services\FhirBundle $bundle )
sendError ( $message, $status = 400, $type )
sendInfo ( $message, $status = 200 )
sendResource ( services\Resource $resource, $status = 200 )
sendResponse ( integer $status, string $body = '' ) Send response.

비공개 메소드들

메소드 설명
getSearchService ( $resource_type, array &$params )

메소드 상세

actionBadRequest() 공개 메소드

public actionBadRequest ( )

actionConformance() 공개 메소드

WhOLE SYSTEM INTERACTIONS
public actionConformance ( )

actionCreate() 공개 메소드

Create resource.
public actionCreate ( string $resource_type )
$resource_type string

actionDelete() 공개 메소드

Delete resource.
public actionDelete ( string $resource_type, string $id )
$resource_type string
$id string

actionRead() 공개 메소드

Read (view) resource.
public actionRead ( string $resource_type, string $id )
$resource_type string
$id string

actionSearch() 공개 메소드

Search for resource(s).
public actionSearch ( $resource_type )
$resource_type

actionUpdate() 공개 메소드

Update resource.
public actionUpdate ( string $resource_type, string $id )
$resource_type string
$id string

actionVread() 공개 메소드

Current implementation uses timestamp as version ID and only supports the current version
public actionVread ( string $resource_type, string $id, string $vid )
$resource_type string
$id string
$vid string

beforeAction() 공개 메소드

public beforeAction ( $action )

getRef() 보호된 메소드

protected getRef ( $resource_type, $id )

handleError() 공개 메소드

public handleError ( CErrorEvent $event )
$event CErrorEvent

handleException() 공개 메소드

public handleException ( CExceptionEvent $event )
$event CExceptionEvent

parseInput() 보호된 메소드

protected parseInput ( )

sendBundle() 보호된 메소드

protected sendBundle ( services\FhirBundle $bundle )
$bundle services\FhirBundle

sendError() 보호된 메소드

protected sendError ( $message, $status = 400, $type )

sendInfo() 보호된 메소드

protected sendInfo ( $message, $status = 200 )

sendResource() 보호된 메소드

protected sendResource ( services\Resource $resource, $status = 200 )
$resource services\Resource

sendResponse() 보호된 메소드

Send response.
protected sendResponse ( integer $status, string $body = '' )
$status integer
$body string

프로퍼티 상세

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

protected $general_tags

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

protected $output_format

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

protected $profile_tags

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

protected $security_tags

$xml_error_map 보호되어 있는 정적으로 프로퍼티

protected static $xml_error_map