Table of Contents
Constants
-
LIVE
= 0
-
WORK
= 1
Methods
-
clearContent()
: true
-
copyContent()
: bool
-
getSessionArticleRevision()
: self::LIVE|self::WORK
-
setSessionArticleRevision()
: void
LIVE
public
mixed
LIVE
= 0
WORK
public
mixed
WORK
= 1
clearContent()
public
static clearContent(int $articleId, int $clang, self::WORK $fromRevisionId) : true
Parameters
-
$articleId
: int
-
-
$clang
: int
-
-
$fromRevisionId
: self::WORK
-
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
-
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
-