PHP Class EpisodeSummaryItem

OpenEyes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. OpenEyes is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenEyes in a file titled COPYING. If not, see .
Author: OpenEyes ([email protected])
Inheritance: extends BaseActiveRecord
Mostra file Open project: openeyes/openeyes Class Usage Examples

Public Methods

Method Description
assign ( array $item_ids, integer | null $subspecialty_id = null ) Assign the given items to the given episode summary.
available ( integer | null $subspecialty_id = null ) : EpisodeSummaryItem Named scope to fetch available (non-enabled) items for the given subspecialty.
enabled ( integer | null $subspecialty_id = null ) : EpisodeSummaryItem Named scope to fetch enabled items for the given subspecialty.
getClassName ( )
relations ( )
tableName ( )

Method Details

assign() public method

Assign the given items to the given episode summary.
public assign ( array $item_ids, integer | null $subspecialty_id = null )
$item_ids array
$subspecialty_id integer | null

available() public method

Named scope to fetch available (non-enabled) items for the given subspecialty.
public available ( integer | null $subspecialty_id = null ) : EpisodeSummaryItem
$subspecialty_id integer | null Null for default episode summary
return EpisodeSummaryItem

enabled() public method

Named scope to fetch enabled items for the given subspecialty.
public enabled ( integer | null $subspecialty_id = null ) : EpisodeSummaryItem
$subspecialty_id integer | null Null for default episode summary
return EpisodeSummaryItem

getClassName() public method

public getClassName ( )

relations() public method

public relations ( )

tableName() public method

public tableName ( )