public function setConfig(array $configs = array() )
  {
    foreach($configs as $config_key => $config)
    {
      switch($config_key)
      {
        case 'table-striped':
          $this->table_striped = $config;
        break;
        case 'table-bordered':
          $this->table_bordered = $config;
        break;
        case 'table-hover':
          $this->table_hover = $config;
        break;
        case 'table-condensed':
          $this->table_condensed = $config;
        break;
        case 'table-responsive':
          $this->table_responsive = $config;
        break;
        case 'id':
          $this->id = $config;
          break;
        default:
          throw new \InvalidArgumentException();
        break;
      }
    }
  }
public function setConfig(array $configs = array() )
  {
    foreach($configs as $config_key => $config)
    {
      switch($config_key)
      {
        case 'table-striped':
          $this->table_striped = $config;
        break;
        case 'table-bordered':
          $this->table_bordered = $config;
        break;
        case 'table-hover':
          $this->table_hover = $config;
        break;
        case 'table-condensed':
          $this->table_condensed = $config;
        break;
        case 'table-responsive':
          $this->table_responsive = $config;
        break;
        case 'id':
          $this->id = $config;
          break;
        default:
          throw new \InvalidArgumentException();
        break;
      }
    }
  }
public function setConfig ( array $ configs = array ( ) ) { foreach ( $ configs as $ config_key => $ config ) { switch ( $ config_key ) { case 'table-striped' : $ this -> table_striped = $ config ; break ; case 'table-bordered' : $ this -> table_bordered = $ config ; break ; case 'table-hover' : $ this -> table_hover = $ config ; break ; case 'table-condensed' : $ this -> table_condensed = $ config ; break ; case 'table-responsive' : $ this -> table_responsive = $ config ; break ; case 'id' : $ this -> id = $ config ; break ; default : throw new \ InvalidArgumentException ( ) ; break ; } } }
Set the configuration of the table

@param  array $config
@throws InvalidArgumentException
@return  void
Set the configuration of the table