BookOutline
class BookOutline (View source)
Provides handling to render the book outline.
Properties
| protected BookManagerInterface | $bookManager | The book manager. |
Methods
array
prevLink(array $book_link)
Fetches the book link for the previous page of the book.
array
nextLink(array $book_link)
Fetches the book link for the next page of the book.
array
childrenLinks(array $book_link)
Formats the book links for the child pages of the current page.
Details
__construct(BookManagerInterface $book_manager)
Constructs a new BookOutline.
array
prevLink(array $book_link)
Fetches the book link for the previous page of the book.
array
nextLink(array $book_link)
Fetches the book link for the next page of the book.
array
childrenLinks(array $book_link)
Formats the book links for the child pages of the current page.