FML/Script/Features/Paging.php
public function setButtons(array $buttons)
    {
        $this->buttons = array();
        foreach ($buttons as $button) {
            $this->addButton($button);
        }
        return $this;
    }
public function setButtons(array $buttons)
    {
        $this->buttons = array();
        foreach ($buttons as $button) {
            $this->addButton($button);
        }
        return $this;
    }
public function setButtons ( array $ buttons ) { $ this -> buttons = array ( ) ; foreach ( $ buttons as $ button ) { $ this -> addButton ( $ button ) ; } return $ this ; }
Set the Paging Buttons

@api
@param PagingButton[] $buttons Paging Buttons
@return static
Set the Paging Buttons