/**
  * Constructor
  *
  * @param moodle_page $page the page we are doing output for.
  * @param string $target one of rendering target constants
  */
 public function __construct(moodle_page $page, $target)
 {
     parent::__construct($page, $target);
     $this->themeconfig = array(\theme_config::load('essential'));
 }
Esempio n. 2
0
 /**
  * Constructor
  *
  * @param moodle_page $page the page we are doing output for.
  * @param string $target one of rendering target constants
  */
 public function __construct(\moodle_page $page, $target)
 {
     parent::__construct($page, $target);
     $this->themeconfig[] = \theme_config::load('essentials');
     // Initialised by the Essential constructor.
 }