public function setRow($column)
    {
        $columns = is_array($column) ? $column : func_get_args();
        
        // If this is a sequential array
        if (array_keys($columns) === range(0, count($columns) - 1)) {
            
            $assocArray = array();
            
            for($i=0;$i<count($this->_head);$i++) {
                $assocArray[$this->_head[$i]] = isset($columns[$i]) ? $columns[$i] : '';
            }

            $columns = $assocArray;
            
        }
        
        $this->_rows[] = $columns;
        
        return $this;
    }
public function setRow($column)
    {
        $columns = is_array($column) ? $column : func_get_args();
        
        // If this is a sequential array
        if (array_keys($columns) === range(0, count($columns) - 1)) {
            
            $assocArray = array();
            
            for($i=0;$i<count($this->_head);$i++) {
                $assocArray[$this->_head[$i]] = isset($columns[$i]) ? $columns[$i] : '';
            }

            $columns = $assocArray;
            
        }
        
        $this->_rows[] = $columns;
        
        return $this;
    }
public function setRow ( $ column ) { $ columns = is_array ( $ column ) ? $ column : func_get_args ( ) ; // If this is a sequential array if ( array_keys ( $ columns ) === range ( 0 , count ( $ columns ) - 1 ) ) { $ assocArray = array ( ) ; for ( $ i = 0 ; $ i < count ( $ this -> _head ) ; $ i ++ ) { $ assocArray [ $ this -> _head [ $ i ] ] = isset ( $ columns [ $ i ] ) ? $ columns [ $ i ] : '' ; } $ columns = $ assocArray ; } $ this -> _rows [ ] = $ columns ; return $ this ; }
Sets the colums for a table row.

@param string|array $column
@return \m\Html\Table
Sets the colums for a table row .