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
.
显示文件
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 the given items to the given episode summary.
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 |
|
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
relations()
public method
tableName()
public method