/**
  * Set the content of the element
  *
  * @param   string $content
  *
  * @return \SxBootstrap\View\Helper\Bootstrap\AbstractElementHelper
  */
 public function setContent($content)
 {
     $this->element->setContent($content);
     return $this;
 }
Example #2
0
 /**
  * @param \Zend\Paginator\Paginator $paginator
  *
  * @return Pagination
  */
 public function __invoke(Paginator $paginator)
 {
     $paginationElement = new HtmlElement();
     $paginationElement->addClass('pagination');
     $this->setPaginator($paginator);
     $this->setElement($paginationElement);
     return clone $this;
 }