Package org.olat.course.config

Examples of org.olat.course.config.CourseConfig


   * @param courseEnvironment the course environment
   * @return The custom course css or NULL if no course css is available
   */
  public static CustomCSS getCustomCourseCss(UserSession usess, CourseEnvironment courseEnvironment) {
    CustomCSS customCSS = null;
    CourseConfig courseConfig = courseEnvironment.getCourseConfig();
    if (courseConfig.hasCustomCourseCSS()) {
      // Notify the current tab that it should load a custom CSS
      VFSContainer courseContainer = courseEnvironment.getCourseFolderContainer();
      customCSS = new CustomCSS(courseContainer, courseConfig.getCssLayoutRef(), usess);
    }
    return customCSS;
  }
View Full Code Here

TOP

Related Classes of org.olat.course.config.CourseConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.