protected function renderSimpleTable($table)
    {
        $array = array();

        $row = $table->getFirstRow();
        if ($row === false) {
            return $array;
        }
        foreach ($row->getColumns() as $columnName => $columnValue) {
            $array[$columnName] = $columnValue;
        }
        return $array;
    }
protected function renderSimpleTable($table)
    {
        $array = array();

        $row = $table->getFirstRow();
        if ($row === false) {
            return $array;
        }
        foreach ($row->getColumns() as $columnName => $columnValue) {
            $array[$columnName] = $columnValue;
        }
        return $array;
    }
protected function renderSimpleTable ( $ table ) { $ array = array ( ) ; $ row = $ table -> getFirstRow ( ) ; if ( $ row === false ) { return $ array ; } foreach ( $ row -> getColumns ( ) as $ columnName => $ columnValue ) { $ array [ $ columnName ] = $ columnValue ; } return $ array ; }
Converts the simple data table to an array

@param Simple $table
@return array
Converts the simple data table to an array