Hello,
patch applied : https://forge.indepnet.net/repositories/revision/reports/11
Thanks for your contribution.

Walid.

Cezary Kalinowski a écrit :
> Hi,
> (oops- sorry for previous spam)
> Can you modify Autoreport->closeColumn() method to reset column counter 
> "cpt" after reaching end of criteria table? It would be useful for 
> multicriteria forms.
> for example:
> <code>
> function closeColumn() {
>    if ($this->cpt>0) {
>       while ($this->cpt<4) {
>       echo "<td></td>";
>       $this->cpt++;
>       }
>    // CK
>    $this->cpt=0;
>    // /CK
>    echo "</tr>";
>    }
> }
> </code>
>
> For the same reason adding getCriteria() method would be helpful.
> eg.
> <code>
> // CK
> /**
> * Get all of the report's criteria
> **/
> function getCriterias()
> {
>    return $this->criterias;
> }
> // /CK
> </code>
>
> Amicalement,
> CezaryK
>
> ----------------------------------------------------
> Największe wydarzenie sportowe roku!
> Nie przegap tych emocji 
> Kliknij po więcej:
> http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2Feurobasket2009-2.html&sid=830
>
>
>
> _______________________________________________
> Glpi-dev mailing list
> Glpi-dev@gna.org
> https://mail.gna.org/listinfo/glpi-dev
>   


_______________________________________________
Glpi-dev mailing list
Glpi-dev@gna.org
https://mail.gna.org/listinfo/glpi-dev

Reply via email to