Documentation

rex_article_revision
in package

Table of Contents

Constants

LIVE  = 0
WORK  = 1

Methods

clearContent()  : true
copyContent()  : bool
getSessionArticleRevision()  : self::LIVE|self::WORK
setSessionArticleRevision()  : void

Constants

Methods

clearContent()

public static clearContent(int $articleId, int $clang, self::WORK $fromRevisionId) : true
Parameters
$articleId : int
$clang : int
$fromRevisionId : self::WORK
Return values
true

copyContent()

public static copyContent(int $articleId, int $clang, self::LIVE|self::WORK $fromRevisionId, self::LIVE|self::WORK $toRevisionId) : bool
Parameters
$articleId : int
$clang : int
$fromRevisionId : self::LIVE|self::WORK
$toRevisionId : self::LIVE|self::WORK
Return values
bool

getSessionArticleRevision()

public static getSessionArticleRevision(int $articleId) : self::LIVE|self::WORK
Parameters
$articleId : int
Return values
self::LIVE|self::WORK

setSessionArticleRevision()

public static setSessionArticleRevision(int $articleId, self::LIVE|self::WORK $revision) : void
Parameters
$articleId : int
$revision : self::LIVE|self::WORK

        
On this page

Search results