PHP 클래스 OEModule\PatientTicketing\services\PatientTicketing_QueueSetCategoryService

상속: extends Services\ModelService
파일 보기 프로젝트 열기: openeyes/openeyes

보호된 프로퍼티들

프로퍼티 타입 설명
$operations
$primary_model

공개 메소드들

메소드 설명
getCategoriesForUser ( $user_id ) : PatientTicketing_QueueSetCategory[] Get the categories that the user has permission to process.
getCategoryQueueSetsForUser ( PatientTicketing_QueueSetCategory $qscr, $user_id ) : PatientTicketing_QueueSet[]
getCategoryQueueSetsList ( PatientTicketing_QueueSetCategory $qscr, $user_id )
isCategoryPermissionedForUser ( PatientTicketing_QueueSetCategory $qscr, $user_id ) : boolean
modelToResource ( $queuesetcategory ) : resource Pass through wrapper to generate Queue Resource.
readActive ( $id ) : resource Only return Category if it is active.
search ( array $params )

메소드 상세

getCategoriesForUser() 공개 메소드

Get the categories that the user has permission to process.
public getCategoriesForUser ( $user_id ) : PatientTicketing_QueueSetCategory[]
$user_id
리턴 PatientTicketing_QueueSetCategory[]

getCategoryQueueSetsForUser() 공개 메소드

public getCategoryQueueSetsForUser ( PatientTicketing_QueueSetCategory $qscr, $user_id ) : PatientTicketing_QueueSet[]
$qscr PatientTicketing_QueueSetCategory
$user_id
리턴 PatientTicketing_QueueSet[]

getCategoryQueueSetsList() 공개 메소드

public getCategoryQueueSetsList ( PatientTicketing_QueueSetCategory $qscr, $user_id )
$qscr PatientTicketing_QueueSetCategory

isCategoryPermissionedForUser() 공개 메소드

public isCategoryPermissionedForUser ( PatientTicketing_QueueSetCategory $qscr, $user_id ) : boolean
$qscr PatientTicketing_QueueSetCategory
$user_id
리턴 boolean

modelToResource() 공개 메소드

Pass through wrapper to generate Queue Resource.
public modelToResource ( $queuesetcategory ) : resource
리턴 resource

readActive() 공개 메소드

Only return Category if it is active.
public readActive ( $id ) : resource
$id
리턴 resource

프로퍼티 상세

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

protected static $operations

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

protected static $primary_model