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

  • cUriBuilderMR
  • ModRewrite
  • ModRewrite_ContentController
  • ModRewrite_ContentExpertController
  • ModRewrite_ContentTestController
  • ModRewrite_ControllerAbstract
  • ModRewriteBase
  • ModRewriteController
  • ModRewriteDebugger
  • ModRewriteTest
  • ModRewriteUrlStack
  • ModRewriteUrlUtil

Functions

  • mr_arrayValue
  • mr_buildGeneratedCode
  • mr_buildNewUrl
  • mr_conCopyArtLang
  • mr_conMoveArticles
  • mr_conSaveArticle
  • mr_conSyncArticle
  • mr_debugOutput
  • mr_getConfiguration
  • mr_getRequest
  • mr_header
  • mr_i18n
  • mr_loadConfiguration
  • mr_queryAndNextRecord
  • mr_removeMultipleChars
  • mr_requestCleanup
  • mr_runFrontendController
  • mr_setClientLanguageId
  • mr_setConfiguration
  • mr_strCopyCategory
  • mr_strMovedownCategory
  • mr_strMoveSubtree
  • mr_strMoveUpCategory
  • mr_strNewCategory
  • mr_strNewTree
  • mr_strRenameCategory
  • mr_strSyncCategory
  • Overview
  • Package
  • Class
  • Todo
  • Download

Class ModRewrite_ControllerAbstract

Abstract controller for all concrete mod_rewrite controller implementations.

Direct known subclasses

ModRewrite_ContentController, ModRewrite_ContentExpertController, ModRewrite_ContentTestController
Abstract
Package: Plugin\ModRewrite
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Murat Purc murat@purc.de
Located at plugins/mod_rewrite/classes/controller/class.modrewrite_controller_abstract.php
Methods summary
public
# __construct( )

Constructor, sets some properties by assigning global variables to them.

Constructor, sets some properties by assigning global variables to them.

public
# init( )

Initializer method, could be overwritten by childs. This method will be invoked in constructor of ModRewrite_ControllerAbstract.

Initializer method, could be overwritten by childs. This method will be invoked in constructor of ModRewrite_ControllerAbstract.

public
# setView( object $oView )

View property setter.

View property setter.

Parameters

$oView
public object
# getView( )

View property getter.

View property getter.

Returns

object
public
# setProperty( string $key, mixed $value )

Property setter.

Property setter.

Parameters

$key
$value
public mixed
# getProperty( string $key, mixed $default = NULL )

Property getter.

Property getter.

Parameters

$key
$default

Returns

mixed
public
# setTemplate( string $sTemplate )

Template setter.

Template setter.

Parameters

$sTemplate
Either full path and name of template file or a template string.
public string
# getTemplate( )

Template getter.

Template getter.

Returns

string
public string
# render( string $template = NULL )

Renders template by replacing all view variables in template.

Renders template by replacing all view variables in template.

Parameters

$template

Either full path and name of template file or a template string. If not passed, previous set template will be used.

Returns

string

Throws

cException
if no template is set
protected mixed
# _getParam( string $key, mixed $default = NULL )

Returns parameter from request, the order is: - Return from $_GET, if found - Return from $_POST, if found

Returns parameter from request, the order is: - Return from $_GET, if found - Return from $_POST, if found

Parameters

$key
$default
The default value

Returns

mixed
protected string
# _notifyBox( string $type, string $msg )

Returns rendered notification markup by using global $notification variable.

Returns rendered notification markup by using global $notification variable.

Parameters

$type
One of cGuiNotification::LEVEL_* constants
$msg
The message to display

Returns

string
Properties summary
protected stdClass $_oView

View object, holds all view variables

View object, holds all view variables

#
protected array $_cfg

Global CONTENIDO $cfg variable

Global CONTENIDO $cfg variable

#
protected integer $_client

Global CONTENIDO $client variable (client id)

Global CONTENIDO $client variable (client id)

#
protected integer|string $_area

Global CONTENIDO $area variable (area name/id)

Global CONTENIDO $area variable (area name/id)

#
protected string $_action

Global CONTENIDO $action variable (send by request)

Global CONTENIDO $action variable (send by request)

#
protected integer $_frame

Global CONTENIDO $frame variable (current frame in backend)

Global CONTENIDO $frame variable (current frame in backend)

#
protected string $_contenido

Global CONTENIDO $contenido variable (session id)

Global CONTENIDO $contenido variable (session id)

#
protected string $_template

Template file or template string to render

Template file or template string to render

# NULL
protected array $_properties

Additional properties list

Additional properties list

# array()
protected boolean $_debug

Debug flag

Debug flag

# false
CMS CONTENIDO 4.9.7 API documentation generated by ApiGen