public function setManialink(ManialinkInterface $manialink)
    {
        $this->manialink = $manialink;

        $this->actionFirstPage = $this->actionFactory
            ->createManialinkAction($manialink, array($this, 'goToFirstPage'), [], true);
        $this->actionPreviousPage = $this->actionFactory
            ->createManialinkAction($manialink, array($this, 'goToPreviousPage'), [], true);
        $this->actionNextPage = $this->actionFactory
            ->createManialinkAction($manialink, array($this, 'goToNextPage'), [], true);
        $this->actionLastPage = $this->actionFactory
            ->createManialinkAction($manialink, array($this, 'goToLastPage'), [], true);
        $this->actionGotoPage = $this->actionFactory
            ->createManialinkAction($manialink, array($this, 'goToPage'), [], true);

        return $this;
    }
public function setManialink(ManialinkInterface $manialink)
    {
        $this->manialink = $manialink;

        $this->actionFirstPage = $this->actionFactory
            ->createManialinkAction($manialink, array($this, 'goToFirstPage'), [], true);
        $this->actionPreviousPage = $this->actionFactory
            ->createManialinkAction($manialink, array($this, 'goToPreviousPage'), [], true);
        $this->actionNextPage = $this->actionFactory
            ->createManialinkAction($manialink, array($this, 'goToNextPage'), [], true);
        $this->actionLastPage = $this->actionFactory
            ->createManialinkAction($manialink, array($this, 'goToLastPage'), [], true);
        $this->actionGotoPage = $this->actionFactory
            ->createManialinkAction($manialink, array($this, 'goToPage'), [], true);

        return $this;
    }
public function setManialink ( ManialinkInterface $ manialink ) { $ this -> manialink = $ manialink ; $ this -> actionFirstPage = $ this -> actionFactory -> createManialinkAction ( $ manialink , array ( $ this , 'goToFirstPage' ) , [ ] , true ) ; $ this -> actionPreviousPage = $ this -> actionFactory -> createManialinkAction ( $ manialink , array ( $ this , 'goToPreviousPage' ) , [ ] , true ) ; $ this -> actionNextPage = $ this -> actionFactory -> createManialinkAction ( $ manialink , array ( $ this , 'goToNextPage' ) , [ ] , true ) ; $ this -> actionLastPage = $ this -> actionFactory -> createManialinkAction ( $ manialink , array ( $ this , 'goToLastPage' ) , [ ] , true ) ; $ this -> actionGotoPage = $ this -> actionFactory -> createManialinkAction ( $ manialink , array ( $ this , 'goToPage' ) , [ ] , true ) ; return $ this ; }
Set the manialink the content is generated for.

@param ManialinkInterface $manialink

@return $this
Set the manialink the content is generated for .