Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • mpAutoloaderClassMap
  • None
  • PHP
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SIWECOS
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob

Classes

  • cContentVersioning
  • cVersion
  • cVersionFile
  • cVersionLayout
  • cVersionModule
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class cVersionLayout

Class of Layout Revision We use super class Version to create a new Version.

cVersion
Extended by cVersionLayout
Package: Core\Versioning
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Bilal Arslan, Timo Trautmann
Located at classes/version/class.version.layout.php
Methods summary
public
# __construct( string $iIdLayout, array $aCfg, array $aCfgClient, cDb $oDB, integer $iClient, object $sArea, integer $iFrame )

Constructor to create an instance of this class.

Constructor to create an instance of this class.

Initializes class variables.

Parameters

$iIdLayout
string
$iIdLayout The name of style file
$aCfg
array
$aCfg
$aCfgClient
array
$aCfgClient
$oDB
cDb
$oDB CONTENIDO database object
$iClient
integer
$iClient
$sArea
object
$sArea
$iFrame
integer
$iFrame

Throws

cInvalidArgumentException
cDbException

Overrides

cVersion::__construct()
public
# setCode( string $code )

Set code to data ...

Set code to data ...

Parameters

$code
string
$code
private
# setLayoutTable( )

Function reads rows variables from table con_layout and init with the class members.

Function reads rows variables from table con_layout and init with the class members.

Throws

cDbException
public array
# initXmlReader( string $sPath )

This function read an xml file nodes

This function read an xml file nodes

Parameters

$sPath
string
$sPath Path to file

Returns

array
returns array width this three nodes
public string
# renderReloadScript( string $sArea, integer $iIdLayout, object $sess )

Function returns javascript which refreshes CONTENIDO frames for file list an subnavigation. This is necessary, if filenames where changed, when a history entry is restored

Function returns javascript which refreshes CONTENIDO frames for file list an subnavigation. This is necessary, if filenames where changed, when a history entry is restored

Parameters

$sArea
string
$sArea name of CONTENIDO area in which this procedure should be done
$iIdLayout
integer
$iIdLayout Id of layout to highlight
$sess
object
$sess CONTENIDO session object

Returns

string
Javascript for refrehing frames
Methods inherited from cVersion
buildSelectBox(), checkPaths(), createNewVersion(), createNewXml(), deleteFile(), displayNotification(), getFilePath(), getFirstRevision(), getFormatTimestamp(), getLastRevision(), getRevisionFiles(), getTextBox(), getTextarea(), initRevisions(), prune(), setBodyNodeDescription(), setData(), setVarForm()
Properties summary
private string $sName
#

The name of Layout

The name of Layout

private string $sCode
#

The code of Layout

The code of Layout

protected string $sDescripion
#

The Description of Layout

The Description of Layout

private string $sDeletabel
#

The Metainformation about layout

The Metainformation about layout

Properties inherited from cVersion
$aBodyData, $aCfg, $aCfgClient, $aRevisionFiles, $aVarForm, $dActualTimestamp, $dCreated, $dLastModified, $dTimestamp, $iClient, $iDisplayNotification, $iFrame, $iIdentity, $iRevisionNumber, $iVersion, $oDB, $sAlternativePath, $sArea, $sAuthor, $sType
CMS CONTENIDO 4.10.1 API documentation generated by ApiGen 2.8.0