Class ZenpageCategory
zenpage news category class
- PersistentObject
- ThemeObject
- ZenpageRoot
- ZenpageCategory
Package: plugins\zenpage
Author: Malte Müller (acrylian)
Located at zp-extensions/zenpage/zenpage-class-category.php
Author: Malte Müller (acrylian)
Located at zp-extensions/zenpage/zenpage-class-category.php
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
|
public
array
|
#
getSubCategories( boolean $visible = true, string $sorttype = NULL, string $sortdirection = NULL )
Gets the sub categories recursivly by titlelink |
public
boolean
|
|
public
array
|
#
getParents( integer & $parentid = '', boolean $initparents = true )
Gets the parent categories recursivly to the category whose parentid is passed or the current object |
public
|
|
public
boolean
|
|
public
|
|
public
array
|
#
getArticles( integer $articles_per_page = 0, string $published = NULL, boolean $ignorepagination = false, string $sortorder = NULL, string $sortdirection = NULL, boolean $sticky = NULL )
Gets news articles titlelinks this category is attached to |
public
integer
|
#
getArticle( integer $index, $published = NULL, $sortorder = 'date', $sortdirection = 'desc', $sticky = true )
Returns an article from the album based on the index passed. |
public
integer
|
|
public
object
|
#
getPrevArticle( $sortorder = 'date', $sortdirection = 'desc', $sticky = true )
Return the previous article |
public
object
|
#
getNextArticle( $sortorder = 'date', $sortdirection = 'desc', $sticky = true )
Returns the next article. |
public
string
|
|
public
type
|
getPermalink(),
getTitlelink(),
setPermalink(),
setTitlelink()
|
__toString(),
copy(),
get(),
getData(),
getID(),
instantiate(),
move(),
save(),
set(),
setDefaults()
|
public
|
$manage_rights
|
#
MANAGE_ALL_NEWS_RIGHTS
|
public
|
$manage_some_rights
|
#
ZENPAGE_NEWS_RIGHTS
|
public
|
$view_rights
|
#
ALL_NEWS_RIGHTS
|
protected
string
|
$sortorder
|
#
'date'
|
protected
boolean
|
$sortdirection
|
#
true
|
protected
boolean
|
$sortSticky
|
#
true
|
$comments
|
$exists,
$id,
$loaded,
$table,
$transient
|