Ignore:
Timestamp:
12/14/12 14:30:35 (11 years ago)
Author:
douglasz
Message:

Ticket #3236 - Melhorias de performance no codigo do Expresso.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/workflow/inc/report/includes/classes/Listagem.class.php

    r6413 r7655  
    13881388 
    13891389 
    1390             for ($qtd_reg = 1;$qtd_reg <= $qtd_registros; $qtd_reg++) { 
     1390            for ($qtd_reg = 1;$qtd_reg <= $qtd_registros; ++$qtd_reg) { 
    13911391 
    13921392                if ($this->_isarray) { 
     
    14581458                                                 if ($cntcheckspan) { 
    14591459                                                        if ($this->_temarquivocsv) { 
    1460                                                                 for ($j=1; $j<= $cntcheckspan; $j++) { 
     1460                                                                for ($j=1; $j<= $cntcheckspan; ++$j) { 
    14611461                                                                        if ($j == $cntcheckspan) { 
    14621462                                                                                $this->_txtarquivo .= $txtarquivotexto; 
     
    17291729 
    17301730                                if ($this->_temarquivocsv) { 
    1731                                 for ($j=1; $j<= $cntcheckspan; $j++) { 
     1731                                for ($j=1; $j<= $cntcheckspan; ++$j) { 
    17321732                                        if ($j == $cntcheckspan) { 
    17331733                                                $this->_txtarquivo .= $txtarquivotexto; 
     
    18031803                         if ($cntcheckspan) { 
    18041804                            if ($this->_temarquivocsv) { 
    1805                                 for ($j=1; $j<= $cntcheckspan; $j++) { 
     1805                                for ($j=1; $j<= $cntcheckspan; ++$j) { 
    18061806                                    if ($j == $cntcheckspan) { 
    18071807                                        $this->_txtarquivo .= $txtarquivotexto; 
     
    21582158    public function autoAdicionarColunas() { 
    21592159        $i = pg_num_fields($this->dados); 
    2160         for ($j = 0; $j < $i; $j++) { 
     2160        for ($j = 0; $j < $i; ++$j) { 
    21612161            $fieldname = pg_field_name($this->dados, $j); 
    21622162            $tipo = pg_field_type($this->dados, $j); 
Note: See TracChangeset for help on using the changeset viewer.