PHP 클래스 OEModule\OphCiExamination\models\OphCiExamination_EyeDrawBase
The purpose of this class is to enable views to determine if the image
string has been set for a given view.
Subclasses should extend this class and set the DoodleInfo titles
(obtained from the OEEyeDrawWidget class) upon construction.
파일 보기
프로젝트 열기: openeyes/openeyes
공개 메소드들
메소드 |
설명 |
|
getDoodleInfo ( ) : array |
Gets the doodle info that has been set on this class. |
|
isImageStringSet ( string $side ) : boolean |
Does the image string for this EyeDraw object contain any of
the EyeDraw doodles? |
|
setDoodleInfo ( type $titles ) |
Set the titles of the eyedraw component. This is done by callers. |
|
비공개 메소드들
메소드 |
설명 |
|
checkItems ( string[] $contents, string $image_string ) : boolean |
Checks to see if the specified image string contains any of the strings
given in the items array. |
|
메소드 상세
Gets the doodle info that has been set on this class.
public getDoodleInfo ( ) : array |
리턴 |
array |
the doodle info; if no doodle info has been set,
the empty array is returned. |
isImageStringSet()
공개 메소드
Does the image string for this EyeDraw object contain any of
the EyeDraw doodles?
Set the titles of the eyedraw component. This is done by callers.
public setDoodleInfo ( type $titles ) |
$titles |
type |
an array of strings containing the DoodleInfo
titles to check to see if the eyedraw string has been set or not. |