PHP Class Services\GpService

Inheritance: extends ModelService
Show file Open project: openeyes/openeyes

Protected Properties

Property Type Description
$operations
$primary_model
$search_params

Public Methods

Method Description
delete ( integer $id ) Delete the specified GP record, first unassociating it from any patients.
modelToResource ( $gp )
resourceToModel ( $res, $gp )
search ( array $params )

Method Details

delete() public method

Delete the specified GP record, first unassociating it from any patients.
public delete ( integer $id )
$id integer

modelToResource() public method

public modelToResource ( $gp )

resourceToModel() public method

public resourceToModel ( $res, $gp )

Property Details

$operations protected static property

protected static $operations

$primary_model protected static property

protected static $primary_model

$search_params protected static property

protected static $search_params