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

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

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 = '' )

Constructor to create an instance of this class.

Constructor to create an instance of this class.

Initializes the class and its parent.

Parameters

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

Throws

cDbException
cException
cInvalidArgumentException

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
array
$req Request array. Usually _REQUEST

Throws

cDbException
cException
cInvalidArgumentException
public string|
# render( cTemplate|null $template = NULL, boolean $return = false )

Renders the page.

Renders the page.

Parameters

$template
cTemplate|null
$template
$return
boolean
$return

Returns

string|

Throws

cDbException
cException
cInvalidArgumentException

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(), displayOk(), 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 $_versionfilename
#

Name of the file that is being edited.

Name of the file that is being edited.

This variable is different to $filename only if you rename your file.

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, $_ok, $_pageBase, $_pageName, $_pageTemplate, $_pluginName, $_scripts, $_skipTemplateCheck, $_styles, $_subnav, $_warning
CMS CONTENIDO 4.10.1 API documentation generated by ApiGen 2.8.0