protected function load_config() {
        if (!isset($this->config)) {
            $name = $this->get_name();
            $this->config = get_config("enrol_$name");
        }
    }
protected function load_config() {
        if (!isset($this->config)) {
            $name = $this->get_name();
            $this->config = get_config("enrol_$name");
        }
    }
protected function load_config ( ) { if ( ! isset ( $ this -> config ) ) { $ name = $ this -> get_name ( ) ; $ this -> config = get_config ( "enrol_$name" ) ; } }
Makes sure config is loaded and cached.
@return void
Makes sure config is loaded and cached .