app/Report/ReportHtml.php
public function checkFootnote(ReportHtmlFootnote $footnote)
    {
        $ct  = count($this->printedfootnotes);
        $i   = 0;
        $val = $footnote->getValue();
        while ($i < $ct) {
            if ($this->printedfootnotes[$i]->getValue() == $val) {
                // If this footnote already exist then set up the numbers for this object
                $footnote->setNum($i + 1);
                $footnote->setAddlink((string) ($i + 1));

                return $this->printedfootnotes[$i];
            }
            $i++;
        }
        // If this Footnote has not been set up yet
        $footnote->setNum($ct + 1);
        $footnote->setAddlink((string) ($ct + 1));
        $this->printedfootnotes[] = $footnote;

        return false;
    }
public function checkFootnote(ReportHtmlFootnote $footnote)
    {
        $ct  = count($this->printedfootnotes);
        $i   = 0;
        $val = $footnote->getValue();
        while ($i < $ct) {
            if ($this->printedfootnotes[$i]->getValue() == $val) {
                // If this footnote already exist then set up the numbers for this object
                $footnote->setNum($i + 1);
                $footnote->setAddlink((string) ($i + 1));

                return $this->printedfootnotes[$i];
            }
            $i++;
        }
        // If this Footnote has not been set up yet
        $footnote->setNum($ct + 1);
        $footnote->setAddlink((string) ($ct + 1));
        $this->printedfootnotes[] = $footnote;

        return false;
    }
public function checkFootnote ( ReportHtmlFootnote $ footnote ) { $ ct = count ( $ this -> printedfootnotes ) ; $ i = 0 ; $ val = $ footnote -> getValue ( ) ; while ( $ i < $ ct ) { if ( $ this -> printedfootnotes [ $ i ] -> getValue ( ) == $ val ) { // If this footnote already exist then set up the numbers for this object $ footnote -> setNum ( $ i + 1 ) ; $ footnote -> setAddlink ( ( string ) ( $ i + 1 ) ) ; return $ this -> printedfootnotes [ $ i ] ; } $ i ++ ; } // If this Footnote has not been set up yet $ footnote -> setNum ( $ ct + 1 ) ; $ footnote -> setAddlink ( ( string ) ( $ ct + 1 ) ) ; $ this -> printedfootnotes [ ] = $ footnote ; return false ; }
Checks the Footnote and numbers them - ReportHtml

@param ReportHtmlFootnote $footnote

@return ReportHtmlFootnote|bool object if already numbered, false otherwise
Checks the Footnote and numbers them - ReportHtml