PHP Class Services\PracticeService

Inheritance: extends ModelService
Datei anzeigen Open project: openeyes/openeyes

Protected Properties

Property Type Description
$operations
$primary_model
$search_params

Public Methods

Method Description
delete ( integer $id ) Delete the practice from the database, first unassociating it with any patients.
modelToResource ( $practice )
resourceToModel ( $res, $prac )
search ( array $params )

Method Details

delete() public method

Delete the practice from the database, first unassociating it with any patients.
public delete ( integer $id )
$id integer

modelToResource() public method

public modelToResource ( $practice )

resourceToModel() public method

public resourceToModel ( $res, $prac )

Property Details

$operations protected_oe static_oe property

protected static $operations

$primary_model protected_oe static_oe property

protected static $primary_model

$search_params protected_oe static_oe property

protected static $search_params