OEModule\OphCiExamination\models\OphCiExamination_Diagnosis::findAllByElement PHP Method

findAllByElement() public method

public findAllByElement ( BaseEventTypeElement $element )
$element BaseEventTypeElement
    public function findAllByElement($element)
    {
        $element_type = $element->getElementType();
        return $this->findAll('element_type_id = :element_type_id', array(':element_type_id' => $element_type->id));
    }