Code Duplication    Length = 10-10 lines in 2 locations

class.FlipPage.php 1 location

@@ 577-586 (lines=10) @@
574
        return '<li>'.$this->createLink($name, $links[$name]).'</li>';
575
    }
576
577
    protected function getLinksMenus()
578
    {
579
        $names = array_keys($this->links);
580
        $ret = '';
581
        foreach($names as $name)
582
        {
583
            $ret .= $this->getLinkByName($name, $this->links);
584
        }
585
        return $ret;
586
    }
587
588
    /**
589
     * Draw the header for the page

Http/Html/class.FlipPage.php 1 location

@@ 563-572 (lines=10) @@
560
        }
561
        return '<li>'.$this->createLink($name, $links[$name]).'</li>';
562
    }
563
    protected function getLinksMenus()
564
    {
565
        $names = array_keys($this->links);
566
        $ret = '';
567
        foreach($names as $name)
568
        {
569
            $ret .= $this->getLinkByName($name, $this->links);
570
        }
571
        return $ret;
572
    }
573
574
    /**
575
     * Draw the header for the page