Пример #1
0
 /**
  * Форма обучения, которую студент заканчивает
  *
  * @return CTerm|mixed|null
  */
 public function getSecondaryEducationEndType()
 {
     if (is_null($this->_secondaryEducationEndType)) {
         $this->_secondaryEducationEndType = CTaxonomyManager::getEductionForm($this->education_form_end);
         if (is_null($this->_secondaryEducationEndType)) {
             $corriculum = $this->getCorriculum();
             if (!is_null($corriculum)) {
                 $this->_secondaryEducationEndType = $corriculum->educationForm;
             }
         }
     }
     return $this->_secondaryEducationEndType;
 }