FML/Script/Features/Paging.php
public function addPage(PagingPage $page)
    {
        if (!in_array($page, $this->pages, true)) {
            array_push($this->pages, $page);
        }
        return $this;
    }
public function addPage(PagingPage $page)
    {
        if (!in_array($page, $this->pages, true)) {
            array_push($this->pages, $page);
        }
        return $this;
    }
public function addPage ( PagingPage $ page ) { if ( ! in_array ( $ page , $ this -> pages , true ) ) { array_push ( $ this -> pages , $ page ) ; } return $ this ; }
Add a new Page

@api
@param PagingPage $page Page
@return static
Add a new Page