FML/Script/Features/Paging.php
public function addButton(PagingButton $button)
    {
        if (!in_array($button, $this->buttons, true)) {
            array_push($this->buttons, $button);
        }
        return $this;
    }
public function addButton(PagingButton $button)
    {
        if (!in_array($button, $this->buttons, true)) {
            array_push($this->buttons, $button);
        }
        return $this;
    }
public function addButton ( PagingButton $ button ) { if ( ! in_array ( $ button , $ this -> buttons , true ) ) { array_push ( $ this -> buttons , $ button ) ; } return $ this ; }
Add a new Button to browse through Pages

@api
@param PagingButton $button Paging Button
@return static
Add a new Button to browse through Pages