OEModule\OphCoCvi\controllers\DefaultController::getElementsForClerical PHP 메소드

getElementsForClerical() 개인적인 메소드

Because form elements won't be submitted when editing without this access, we need to return the current event element if it exists
private getElementsForClerical ( ) : Element_OphCoCvi_ClericalInfo | boolean | null
리턴 OEModule\OphCoCvi\models\Element_OphCoCvi_ClericalInfo | boolean | null
    private function getElementsForClerical()
    {
        if (!$this->checkClericalEditAccess()) {
            $el = $this->event->isNewRecord ? null : $this->getManager()->getClericalElementForEvent($this->event);
            return !is_null($el) ? array($el) : null;
        }
        return false;
    }