Example #1
0
 /**
  * Текущий семестр
  *
  * @return CTerm|null
  */
 public static function getCurrentYearPart()
 {
     if (is_null(self::$_currentYearPart)) {
         self::$_currentYearPart = CTaxonomyManager::getYearPart(CSettingsManager::getSettingValue("current_year_part"));
     }
     return self::$_currentYearPart;
 }