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

  • cGuiBackendHelpbox
  • cGuiFileOverview
  • cGuiFoldingRow
  • cGuiList
  • cGuiMenu
  • cGuiNavigation
  • cGuiNotification
  • cGuiObjectPager
  • cGuiPage
  • cGuiScrollList
  • cGuiSourceEditor
  • cGuiTableForm
  • cGuiTree
  • cPager
  • cTemplate
  • cTree
  • cTreeItem
  • NoteLink
  • NoteList
  • NoteListItem
  • NoteView
  • TODOBackendList
  • TODOLink
  • Overview
  • Package
  • Class
  • Todo
  • Download

Class cGuiSourceEditor

Source editor class

cGuiPage
Extended by cGuiSourceEditor
Package: Core\GUI
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Mischa Holz
Located at classes/gui/class.sourceeditor.php
Methods summary
public
# __construct( string $filename, boolean $versioning = true, string $filetype = '', string $filepath = '' )

The default constructor. Initializes the class and its parent

The default constructor. Initializes the class and its parent

Parameters

$filename
Name of the edited file
$versioning
Is versioning activated or not. Defaults to true
$filetype
The type of the file. If ommited the class tries to determine the type from the area
$filepath
Path to the file. If ommited the class tries to determine the path from the type and the area

Overrides

cGuiPage::__construct()
protected
# update( array $req )

Updates the file according to the options in the array

Updates the file according to the options in the array

Parameters

$req
Request array. Usually _REQUEST
public string
# render( )

Renders the page

Renders the page

Returns

string
void either the webpage or nothing

See

cGuiPage::render()

Overrides

cGuiPage::render()
Methods inherited from cGuiPage
_getRealFilePathName(), _renderContentMessages(), _renderMetaTags(), _renderObjects(), _renderScripts(), _renderStyles(), _renderTemplate(), abortRendering(), addBodyClassName(), addMeta(), addScript(), addStyle(), appendContent(), displayCriticalError(), displayError(), displayInfo(), displayWarning(), next(), reloadFrame(), set(), setContent(), setEncoding(), setMarkScript(), setPageBase(), setReload(), setSubnav()
Properties summary
protected string $filename

Name of the file that is being edited

Name of the file that is being edited

#
protected string $filepath

Full path to the file that is being edited

Full path to the file that is being edited

#
protected string $filetype

CodeMirror type of the file that is being edited

CodeMirror type of the file that is being edited

#
protected object $codeMirror

CodeMirror instance

CodeMirror instance

#
protected boolean $readOnly

Read-only mode or not

Read-only mode or not

#
protected boolean $versioning

Versioning or not

Versioning or not

#
Properties inherited from cGuiPage
$_abort, $_bodyClassNames, $_contentTemplate, $_error, $_filesDirectory, $_info, $_markScript, $_metaTags, $_objects, $_pageBase, $_pageName, $_pageTemplate, $_pluginName, $_scripts, $_skipTemplateCheck, $_styles, $_subnav, $_warning
CMS CONTENIDO 4.9.7 API documentation generated by ApiGen