original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Sets the colums for a table row.
  
  @param string|array $column
  @return \m\Html\Table
docstring_tokens: Sets the colums for a table row .