function AdvisingScreen::add_css

6.x AdvisingScreen.php AdvisingScreen::add_css($filename)

This function simply adds a reference for additional CSS to be link'd in to the theme. It is used by add-on modules.

The filename needs to be from the reference of the base FlightPath install.

Ex: $screen->add_css("modules/course_search/css/style.css");

Parameters

String $filename:

File

classes/AdvisingScreen.php, line 544

Class

AdvisingScreen

Code

function add_css($filename) {

  $this->page_extra_css_files [] = $filename;

}