예제 #1
0
 /**
  * Makes sure that the global config is loaded in $this->globalconfig
  *
  * @return void
  */
 protected function load_global_config()
 {
     if (is_null(self::$globalconfig)) {
         self::$globalconfig = get_config(get_class($this));
     }
 }
예제 #2
0
파일: filter.php 프로젝트: JP-Git/moodle
 /**
  * Makes sure that the global config is loaded in $this->globalconfig
  *
  * @return void
  */
 protected function load_global_config()
 {
     if (is_null(self::$globalconfig)) {
         self::$globalconfig = get_config('filter_emoticon');
     }
 }