Class ZenpageCategory
zenpage news category class
- PersistentObject
- ThemeObject
- ZenpageRoot
- ZenpageCategory
Package: plugins\zenpage
Author: Malte Müller (acrylian)
Located at zp-extensions/zenpage/class-zenpagecategory.php
Author: Malte Müller (acrylian)
Located at zp-extensions/zenpage/class-zenpagecategory.php
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
|
#
getCategories( boolean $visible = true, string $sorttype = NULL, boolean $sortdirection = NULL, boolean $directchilds = true )
Gets the sub categories recursivly by titlelink |
public
|
#
getSubCategories( $visible = true, $sorttype = NULL, $sortdirection = NULL, $directchilds = false )
|
public
boolean
|
|
public
|
|
public
obj|null
|
|
public
array|null
|
|
public
|
|
public
boolean
|
|
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, string $author = 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
|
getPermalink(),
getTitlelink(),
setPermalink(),
setTitlelink()
|
__toString(),
checkChanges(),
clearCache(),
copy(),
get(),
getData(),
getID(),
getLastChange(),
getLastChangeUser(),
instantiate(),
move(),
save(),
set(),
setDefaults(),
setLastChange(),
setLastchangeUser()
|
public
|
$manage_rights
|
#
MANAGE_ALL_NEWS_RIGHTS
|
public
|
$manage_some_rights
|
#
ZENPAGE_NEWS_RIGHTS
|
public
|
$view_rights
|
#
ALL_NEWS_RIGHTS
|
public
|
$parent
|
#
null
|
public
|
$parents
|
#
null
|
protected
string
|
$sorttype
|
#
'date'
|
protected
boolean
|
$sortdirection
|
#
true
|
protected
boolean
|
$sortSticky
|
#
true
|
protected
|
$is_public
|
#
null
|
$comments
|
$exists,
$id,
$loaded,
$table,
$transient
|