PHP Class 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.
Afficher le fichier
Open project: openeyes/openeyes
Méthodes publiques
Méthode |
Description |
|
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. |
|
Private Methods
Méthode |
Description |
|
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. |
|
Method Details
getDoodleInfo()
public méthode
Gets the doodle info that has been set on this class.
public getDoodleInfo ( ) : array |
Résultat |
array |
the doodle info; if no doodle info has been set,
the empty array is returned. |
isImageStringSet()
public méthode
Does the image string for this EyeDraw object contain any of
the EyeDraw doodles?
setDoodleInfo()
public méthode
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. |