src/bundles/UI/Table.php
private function _repair_row( $data = array(), $attr = array() ) {
		$row = array();
		foreach( $data as $key => $value ) {
			if ( !$value instanceof HTML || ( $value->name != 'td' && $value->name != 'th' ) ) {
				$value = static::cell( (string) $value );
			}
			if ( is_string( $key ) ) {
				$row[$key] = $value;
			} else {
				$row[] = $value;
			}
		}
		return array( $row, $attr );
	}
private function _repair_row( $data = array(), $attr = array() ) {
		$row = array();
		foreach( $data as $key => $value ) {
			if ( !$value instanceof HTML || ( $value->name != 'td' && $value->name != 'th' ) ) {
				$value = static::cell( (string) $value );
			}
			if ( is_string( $key ) ) {
				$row[$key] = $value;
			} else {
				$row[] = $value;
			}
		}
		return array( $row, $attr );
	}
private function _repair_row ( $ data = array ( ) , $ attr = array ( ) ) { $ row = array ( ) ; foreach ( $ data as $ key => $ value ) { if ( ! $ value instanceof HTML || ( $ value -> name != 'td' && $ value -> name != 'th' ) ) { $ value = static :: cell ( ( string ) $ value ) ; } if ( is_string ( $ key ) ) { $ row [ $ key ] = $ value ; } else { $ row [ ] = $ value ; } } return array ( $ row , $ attr ) ; }
repair a row for rendering
repair a row for rendering