PHP Class OEModule\PatientTicketing\services\PatientTicketing_QueueSetCategoryService

Inheritance: extends Services\ModelService
ファイルを表示 Open project: openeyes/openeyes

Protected Properties

Property Type Description
$operations
$primary_model

Public Methods

Method Description
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 )

Method Details

getCategoriesForUser() public method

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

getCategoryQueueSetsForUser() public method

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

getCategoryQueueSetsList() public method

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

isCategoryPermissionedForUser() public method

public isCategoryPermissionedForUser ( PatientTicketing_QueueSetCategory $qscr, $user_id ) : boolean
$qscr PatientTicketing_QueueSetCategory
$user_id
return boolean

modelToResource() public method

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

readActive() public method

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

Property Details

$operations protected_oe static_oe property

protected static $operations

$primary_model protected_oe static_oe property

protected static $primary_model