src/bbn/html/element.php
public function get_config()
	{
    $this->update();
		$tmp = bbn\x::remove_empty($this->cfg);
    if ( isset($tmp['content']) && \is_array($tmp['content']) ){
      foreach ( $tmp['content'] as $i => $c ){
        if ( \is_object($c) ){
          if (method_exists($c, 'get_config') ){
            $tmp['content'][$i] = $c->get_config();
          }
        }
      }
    }
    return $tmp;
	}
public function get_config()
	{
    $this->update();
		$tmp = bbn\x::remove_empty($this->cfg);
    if ( isset($tmp['content']) && \is_array($tmp['content']) ){
      foreach ( $tmp['content'] as $i => $c ){
        if ( \is_object($c) ){
          if (method_exists($c, 'get_config') ){
            $tmp['content'][$i] = $c->get_config();
          }
        }
      }
    }
    return $tmp;
	}
public function get_config ( ) { $ this -> update ( ) ; $ tmp = bbn \ x :: remove_empty ( $ this -> cfg ) ; if ( isset ( $ tmp [ 'content' ] ) && \ is_array ( $ tmp [ 'content' ] ) ) { foreach ( $ tmp [ 'content' ] as $ i => $ c ) { if ( \ is_object ( $ c ) ) { if ( method_exists ( $ c , 'get_config' ) ) { $ tmp [ 'content' ] [ $ i ] = $ c -> get_config ( ) ; } } } } return $ tmp ; }
Returns the current configuration.

@return array Current configuration
Returns the current configuration .