original_string: 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
        ]);
      }
    }
code: 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
        ]);
      }
    }
code_tokens: 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 ] ) ; } }
docstring: Returns an array with all the - default or no - config parameters based on the sent ones
docstring_tokens: Returns an array with all the - default or no - config parameters based on the sent ones