Overview

Packages

  • admin
  • classes
    • media
  • CodeIgniter
    • Libraries
  • core
  • functions
  • JSMin
  • None
  • OpenID
  • PHP
  • PHPMailer
  • plugins
    • admin
    • development
    • feed
    • mail
    • media
    • misc
    • seo
    • spam
    • uploader
    • users
    • zenpage
    • zenphoto
      • news
  • Services
    • JSON

Classes

  • Zenpage
  • ZenpageCategory
  • ZenpageItems
  • ZenpageNews
  • ZenpagePage
  • ZenpageRoot

Functions

  • authorSelector
  • checkForEmptyTitle
  • checkForPage
  • checkHitcounterDisplay
  • checkIfChecked
  • checkIfLockedNews
  • checkIfLockedPage
  • deleteArticle
  • deleteCategory
  • deletePage
  • getAuthor
  • getBareNewsTitle
  • getBarePageTitle
  • getContentShorten
  • getCurrentNewsArchive
  • getExpiryDatePost
  • getLatestNews
  • getLatestZenpageComments
  • getNewsAdminOption
  • getNewsAdminOptionPath
  • getNewsArchivePath
  • getNewsAuthor
  • getNewsCategories
  • getNewsCategoryCustomData
  • getNewsCategoryDesc
  • getNewsCategoryURL
  • getNewsContent
  • getNewsCustomData
  • getNewsDate
  • getNewsExtraContent
  • getNewsID
  • getNewsPagesStatistic
  • getNewsPathNav
  • getNewsReadMore
  • getNewsTitle
  • getNewsURL
  • getNextNewsPageURL
  • getNextNewsURL
  • getNextPrevNews
  • getNumNews
  • getNumPages
  • getPageAuthor
  • getPageContent
  • getPageCustomData
  • getPageDate
  • getPageExtraContent
  • getPageID
  • getPageLastChangeDate
  • getPageParentID
  • getPageSortorder
  • getPageTitle
  • getPageTitleLink
  • getPageURL
  • getPrevNewsPageURL
  • getPrevNewsURL
  • getTotalNewsPages
  • getZenpageStatistic
  • is_AdminEditPage
  • is_News
  • is_NewsArchive
  • is_NewsArticle
  • is_NewsCategory
  • is_NewsPage
  • is_Pages
  • next_news
  • next_page
  • printAllNewsCategories
  • printArticleCategories
  • printArticleDatesDropdown
  • printArticlesPerPageDropdown
  • printBareNewsTitle
  • printBarePageTitle
  • printCategoriesStatistic
  • printCategoryCheckboxListEntry
  • printCategoryDropdown
  • printCategoryListSortableTable
  • printCategorySelection
  • printCurrentNewsArchive
  • printCurrentNewsCategory
  • printExpired
  • printLatestNews
  • printMostPopularItems
  • printMostRatedItems
  • printNestedItemsList
  • printNestedMenu
  • printNewsArchive
  • printNewsAuthor
  • printNewsCategories
  • printNewsCategoryCustomData
  • printNewsCategoryDesc
  • printNewsCategoryURL
  • printNewsContent
  • printNewsCustomData
  • printNewsDate
  • printNewsExtraContent
  • printNewsIndexURL
  • printNewsPageList
  • printNewsPageListWithNav
  • printNewsStatistic
  • printNewsTitle
  • printNewsURL
  • printNextNewsLink
  • printNextNewsPageLink
  • printPageArticleTags
  • printPageAuthor
  • printPageContent
  • printPageCustomData
  • printPageDate
  • printPageExtraContent
  • printPageID
  • printPageLastChangeDate
  • printPageMenu
  • printPagesListTable
  • printPagesStatistic
  • printPageTitle
  • printPageTitleLink
  • printPageURL
  • printPrevNewsLink
  • printPrevNewsPageLink
  • printPublished
  • printPublishIconLink
  • printSortOrderDropdown
  • printSubPagesExcerpts
  • printTopRatedItems
  • printUnpublishedDropdown
  • printZenpageIconLegend
  • printZenpageItemsBreadcrumb
  • printZenpageStatistic
  • processTags
  • processZenpageBulkActions
  • skipScheduledPublishing
  • stickyNews
  • updateArticle
  • updateCategory
  • updateItemSortorder
  • updatePage
  • zenpageAlbumImage
  • zenpageBulkActionMessage
  • zenpageJSCSS
  • zenpagePublish
  • Overview
  • Package
  • Function
  • Tree
  • Deprecated

Function getNextPrevNews

Returns the title and the titlelink of the next or previous article in single news article pagination as an array Returns false if there is none (or option is empty)

NOTE: This is not available if using the CombiNews feature

Package: plugins\zenpage
Author: Malte Müller (acrylian), Stephen Billard (sbillard)
Located at zp-extensions/zenpage/zenpage-template-functions.php
Parameters summary
string $option = '' "prev" or "next"
Return value summary
mixed mixed
Zenphoto doc API documentation generated by ApiGen