Class rex_article

Object Oriented Framework: Bildet einen Artikel der Struktur ab.

rex_structure_element uses rex_instance_pool_trait, rex_instance_list_pool_trait
Extended by rex_article
Package: redaxo\structure
Located at redaxo/src/addons/structure/lib/article.php

Methods summary

public static integer
# getCurrentId( )

Return the current article id.

public static null|self
# getCurrent( integer $clang = null )

Return the current article.

public static integer
# getSiteStartArticleId( )

Return the site wide start article id.

public static self|null
# getSiteStartArticle( integer $clang = null )

Return the site wide start article.

public static integer
# getNotfoundArticleId( )

Return the site wide notfound article id.

public static self
# getNotfoundArticle( integer $clang = null )

Return the site wide notfound article.

public static self[]
# getRootArticles( boolean $ignoreOfflines = false, integer $clang = null )

Return a list of top-level articles.

public integer
# getCategoryId( )

Returns the category id.

public rex_category
# getCategory( )

Returns the parent category.

public self
# getParent( )

Returns the parent object of the article.

public string
# getPath( )

Returns the path of the category/article.

public string
# getValue( string $value )

Returns Object Value.

public static boolean
# hasValue( string $value )
public boolean
# isPermitted( )

Returns whether the element is permitted.

Methods inherited from rex_structure_element

__construct(), _hasValue(), _toAttributeString(), get(), getChildElements(), getClang(), getClangId(), getClassVars(), getCreateDate(), getCreateUser(), getId(), getName(), getParentId(), getParentTree(), getPathAsArray(), getPriority(), getTemplateId(), getUpdateDate(), getUpdateUser(), getUrl(), hasTemplate(), inParentTree(), isNotFoundArticle(), isOnline(), isSiteStartArticle(), isStartArticle(), resetClassVars(), toLink()

Methods used from rex_instance_pool_trait

addInstance(), clearInstance(), clearInstancePool(), getInstance(), hasInstance()

Methods used from rex_instance_list_pool_trait

addInstanceList(), clearInstanceList(), clearInstanceListPool(), getInstanceList(), hasInstanceList()

Properties summary

Properties inherited from rex_structure_element

$catname, $catpriority, $clang_id, $classVars, $createdate, $createuser, $id, $name, $parent_id, $path, $priority, $startarticle, $status, $template_id, $updatedate, $updateuser