public static function newRow(array $attrs = array()) {
        if (!empty(self::$row_data))
            self::$rows[count(self::$rows) - 1][] = self::$row_data;
        self::$row_data = array();
        self::$rows[][] = $attrs;
        return count(self::$rows);
    }
public static function newRow(array $attrs = array()) {
        if (!empty(self::$row_data))
            self::$rows[count(self::$rows) - 1][] = self::$row_data;
        self::$row_data = array();
        self::$rows[][] = $attrs;
        return count(self::$rows);
    }
public static function newRow ( array $ attrs = array ( ) ) { if ( ! empty ( self :: $ row_data ) ) self :: $ rows [ count ( self :: $ rows ) - 1 ] [ ] = self :: $ row_data ; self :: $ row_data = array ( ) ; self :: $ rows [ ] [ ] = $ attrs ; return count ( self :: $ rows ) ; }
Signals beginning of a new row
@param array $attrs Array of attr => value to apply to the row
Signals beginning of a new row