ContentWorkflow
extends Module
in package
Content Workflow
Class for managing the content history
Tags
Table of Contents
Properties
- $act : mixed
- $db : mixed
- $defaultAct : mixed
- $em : mixed
- $init : mixed
- $logRepo : mixed
- $nodeRepo : mixed
- $pageRepo : mixed
- $template : Sigma
- $tpl : mixed
- $intPos : mixed
- $pageId : mixed
- $strCmd : mixed
- $strErrMessage : mixed
- $strOkMessage : mixed
- $strPageTitle : mixed
Methods
- __construct() : mixed
- Constructor
- getPage() : mixed
- redirectPage() : mixed
- Redirect to content manager (open site)
- restoreHistory() : mixed
- Restores a page from histroy.
- setNavigation() : mixed
- Sets the content workflow navigation
- showHistory() : mixed
- Show logfile-entries (new, updated or deleted)
- showHistoryDeleted() : mixed
- restorePage() : mixed
- revertPage() : mixed
- setTextVariables() : mixed
Properties
$act
protected
mixed
$act
= ''
$db
protected
mixed
$db
= null
$defaultAct
protected
mixed
$defaultAct
= ''
$em
protected
mixed
$em
= null
$init
protected
mixed
$init
= null
$logRepo
protected
mixed
$logRepo
= null
$nodeRepo
protected
mixed
$nodeRepo
= null
$pageRepo
protected
mixed
$pageRepo
= null
$template
protected
Sigma
$template
= \null
$tpl
protected
mixed
$tpl
= null
$intPos
private
mixed
$intPos
= 0
$pageId
private
mixed
$pageId
= 0
$strCmd
private
mixed
$strCmd
= ''
$strErrMessage
private
mixed
$strErrMessage
= array()
$strOkMessage
private
mixed
$strOkMessage
= ''
$strPageTitle
private
mixed
$strPageTitle
= ''
Methods
__construct()
Constructor
public
__construct(string $act, mixed $template, mixed $db, object $init) : mixed
Parameters
- $act : string
- $template : mixed
- $db : mixed
- $init : object
Tags
getPage()
public
getPage() : mixed
redirectPage()
Redirect to content manager (open site)
protected
redirectPage(mixed $intPageId) : mixed
Parameters
- $intPageId : mixed
restoreHistory()
Restores a page from histroy.
protected
restoreHistory() : mixed
setNavigation()
Sets the content workflow navigation
protected
setNavigation() : mixed
Tags
showHistory()
Show logfile-entries (new, updated or deleted)
protected
showHistory() : mixed
Tags
showHistoryDeleted()
protected
showHistoryDeleted() : mixed
restorePage()
private
restorePage(mixed $node, mixed $page, mixed $logs) : mixed
Parameters
- $node : mixed
- $page : mixed
- $logs : mixed
revertPage()
private
revertPage(mixed $pageId) : mixed
Parameters
- $pageId : mixed
setTextVariables()
private
setTextVariables() : mixed