src/Table.php
public function addColumn()
    {
        $model = $this->models->first();

        $new_column = forward_static_call_array([new Column(), 'create'], func_get_args());

        $new_column->setOptionsFromModel($model);

        $this->columns[] =& $new_column;

        return $new_column;
    }
public function addColumn()
    {
        $model = $this->models->first();

        $new_column = forward_static_call_array([new Column(), 'create'], func_get_args());

        $new_column->setOptionsFromModel($model);

        $this->columns[] =& $new_column;

        return $new_column;
    }
public function addColumn ( ) { $ model = $ this -> models -> first ( ) ; $ new_column = forward_static_call_array ( [ new Column ( ) , 'create' ] , func_get_args ( ) ) ; $ new_column -> setOptionsFromModel ( $ model ) ; $ this -> columns [ ] = & $ new_column ; return $ new_column ; }
Add one column to the table.
Add one column to the table .