Class rex_article_content_base

Klasse regelt den Zugriff auf Artikelinhalte. Alle benötigten Daten werden von der DB bezogen.

Direct known subclasses

rex_article_content

Indirect known subclasses

rex_article_content_editor

Package: redaxo\structure\content
Located at redaxo/src/addons/structure/plugins/content/lib/article_content_base.php

Methods summary

public
# __construct( mixed $article_id = null, mixed $clang = null )
protected
public
# setSliceRevision( mixed $sr )
public
# setSliceId( mixed $value )
public
# setClang( mixed $value )
public
public
public
# getClang( )
public
# setArticleId( mixed $article_id )
public
# setTemplateId( mixed $template_id )
public
public
# setMode( mixed $mode )
public
# setFunction( mixed $function )
public
# setEval( mixed $value )
protected
# correctValue( mixed $value )
protected
# _getValue( mixed $value )
public
# getValue( mixed $value )
public
# hasValue( mixed $value )
protected string
# outputSlice( rex_sql $artDataSql, integer $moduleIdToAdd )

Outputs a slice.

public string
# getSlice( integer $sliceId )

Returns the content of the given slice-id.

public string
# getArticle( integer $curctype = -1 )

Returns the content of the article of the given ctype. If no ctype is given, content of all ctypes is returned.

protected string
# preArticle( string $articleContent, integer $module_id )

Method which gets called, before the slices of the article are processed.

protected string
# postArticle( string $articleContent, integer $module_id )

Method which gets called, after all slices have been processed.

public
protected
# getStreamOutput( mixed $path, mixed $content )
protected
# replaceVars( rex_sql $sql, mixed $content )
protected
# replaceObjectVars( rex_sql $sql, mixed $content )
public
# replaceCommonVars( mixed $content, mixed $template_id = null )

Properties summary

public mixed $warning
public mixed $info
public mixed $debug
public mixed $template_id
public mixed $template_attributes
protected mixed $category_id
protected mixed $article_id
protected mixed $slice_id
protected mixed $getSlice
protected mixed $mode
protected mixed $function
protected mixed $ctype
protected mixed $clang
protected mixed $eval
protected mixed $slice_revision
protected mixed $ARTICLE