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

  • 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_getConfigurationFilePath
  • 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
  • Tree
  • Deprecated
  • Todo

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
object
$oView
public object
# getView( )

View property getter.

View property getter.

Returns

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

Property setter.

Property setter.

Parameters

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

Property getter.

Property getter.

Parameters

$key
string
$key
$default
mixed
$default

Returns

mixed
public
# setTemplate( string $sTemplate )

Template setter.

Template setter.

Parameters

$sTemplate
string
$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
string
$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
string
$key
$default
mixed
$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
string
$type One of cGuiNotification::LEVEL_* constants
$msg
string
$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 NULL
#

Template file or template string to render

Template file or template string to render

protected array $_properties array()
#

Additional properties list

Additional properties list

protected boolean $_debug false
#

Debug flag

Debug flag

CMS CONTENIDO 4.10.1 API documentation generated by ApiGen 2.8.0