private function _set_cfg(){
    if ( \is_array($this->cfg) ){
      $p =& $this->cfg['params'];
      $components = false;
      if ( !empty($p['components']) ){
        $components = explode(',', $p['components']);
      }
      $this->cfg = bbn\x::merge_arrays($this->cfg, [
        'test' => !empty($p['test']),
        'lang' => empty($p['lang']) ? self::$default_language : $p['lang'],
        'nocompil' => !empty($p['nocompil']),
        'has_css' => !isset($p['css']) || $p['css'],
        'has_dep' => !isset($p['dep']) || $p['dep'],
        'latest' => isset($p['latest']) ? 1 : false,
        'is_component' => !empty($p['components']),
        'components' => $components
      ]);
    }
  }