public function addColumns(array $columns)
    {
        /*
         * Build a final collection of list column objects
         */
        foreach ($columns as $columnName => $config) {
            $this->allColumns[$columnName] = $this->makeListColumn($columnName, $config);
        }
    }
public function addColumns(array $columns)
    {
        /*
         * Build a final collection of list column objects
         */
        foreach ($columns as $columnName => $config) {
            $this->allColumns[$columnName] = $this->makeListColumn($columnName, $config);
        }
    }
public function addColumns ( array $ columns ) { /*
         * Build a final collection of list column objects
         */ foreach ( $ columns as $ columnName => $ config ) { $ this -> allColumns [ $ columnName ] = $ this -> makeListColumn ( $ columnName , $ config ) ; } }
Programatically add columns, used internally and for extensibility.
@param array $columns Column definitions
Programatically add columns used internally and for extensibility .