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.
Показать файл
Открыть проект
Открытые методы
Метод |
Описание |
|
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. |
|
Описание методов
getDoodleInfo()
публичный Метод
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?
setDoodleInfo()
публичный Метод
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. |