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
    • ContentRssCreator
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • mpAutoloaderClassMap
  • None
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SearchSolr
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Transport

Classes

  • cVersion
  • cVersionFile
  • cVersionLayout
  • cVersionModule
  • Overview
  • Package
  • Class
  • Todo
  • Download

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, object $iFrame )

The class versionLayout object constructor, initializes class variables

The class versionLayout object constructor, initializes class variables

Parameters

$iIdLayout
The name of style file
$aCfg
$aCfgClient
$oDB
$iClient
$sArea
$iFrame

Overrides

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

Set code to data ...

Parameters

$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.

public array
# initXmlReader( string $sPath )

This function read an xml file nodes

This function read an xml file nodes

Parameters

$sPath
Path to file

Returns

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

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

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

Parameters

$sArea
$iIdClient - id of client which contains this file
$iIdLayout

$sArea - name of CONTENIDO area in which this procedure should be done

$sess
$iIdLayout - Id of layout to highlight
$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 $sName

The name of Layout

The name of Layout

#
private $sCode

The code of Layout

The code of Layout

#
private $sDescripion

The Description of Layout

The Description of Layout

#
private $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, $oDB, $sAlternativePath, $sArea, $sAuthor, $sType
CMS CONTENIDO 4.9.7 API documentation generated by ApiGen