lib/IgraalOSL/StatsTable/StatsTable.php
public function removeColumns(array $columns)
    {
        $columnsMap = array_flip($columns);

        $this->removeColumnsInLine($this->headers, $columnsMap);
        $this->removeColumnsInLine($this->aggregations, $columnsMap);
        $this->removeColumnsInLine($this->dataFormats, $columnsMap);
        $this->removeColumnsInLine($this->aggregationsFormats, $columnsMap);

        foreach ($this->data as &$line) {
            $this->removeColumnsInLine($line, $columnsMap);
        }

        return $this;
    }
public function removeColumns(array $columns)
    {
        $columnsMap = array_flip($columns);

        $this->removeColumnsInLine($this->headers, $columnsMap);
        $this->removeColumnsInLine($this->aggregations, $columnsMap);
        $this->removeColumnsInLine($this->dataFormats, $columnsMap);
        $this->removeColumnsInLine($this->aggregationsFormats, $columnsMap);

        foreach ($this->data as &$line) {
            $this->removeColumnsInLine($line, $columnsMap);
        }

        return $this;
    }
public function removeColumns ( array $ columns ) { $ columnsMap = array_flip ( $ columns ) ; $ this -> removeColumnsInLine ( $ this -> headers , $ columnsMap ) ; $ this -> removeColumnsInLine ( $ this -> aggregations , $ columnsMap ) ; $ this -> removeColumnsInLine ( $ this -> dataFormats , $ columnsMap ) ; $ this -> removeColumnsInLine ( $ this -> aggregationsFormats , $ columnsMap ) ; foreach ( $ this -> data as & $ line ) { $ this -> removeColumnsInLine ( $ line , $ columnsMap ) ; } return $ this ; }
Remove columns in table

@param array $columns

@return StatsTable
Remove columns in table