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 getNewsContent

Gets the content of a news article

If using the CombiNews feature this returns the description for gallery items (see printNewsContent for more)

Package: plugins\zenpage
Author: Malte Müller (acrylian), Stephen Billard (sbillard)
Located at zp-extensions/zenpage/zenpage-template-functions.php
Parameters summary
integer $shorten = false The optional length of the content for the news list for example, will override the plugin option setting if set, "" (empty) for full content (not used for image descriptions!)
string $shortenindicator = NULL The placeholder to mark the shortening (e.g."(...)"). If empty the Zenpage option for this is used.
string $readmore = NULL The text for the "read more" link. If empty the term set in Zenpage option is used.
Return value summary
string string
Zenphoto doc API documentation generated by ApiGen