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 ModRewriteTest

Mod rewrite test class.

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/class.modrewritetest.php
Methods summary
public
# __construct( integer $maxItems )

Constuctor

Constuctor

Parameters

$maxItems
Max items (urls to articles/categories) to process
public boolean
# getResolvedUrl( )

Returns resolved URL

Returns resolved URL

Returns

boolean
Resolved URL
public boolean
# getRoutingFoundState( )

Returns flagz about found routing

Returns flagz about found routing

Returns

boolean
public array
# fetchFullStructure( integer $idclient = NULL, integer $idlang = NULL )

Fetchs full structure of the installation (categories and articles) and returns it back.

Fetchs full structure of the installation (categories and articles) and returns it back.

Parameters

$idclient
Client id
$idlang
Language id

Returns

array

Full structure as follows

$arr[idcat] = Category dataset
  $arr[idcat]['articles'][idart] = Article dataset
public
# composeURL( array $arr, string $type )

Creates an URL using passed data.

Creates an URL using passed data.

The result is used to generate seo urls...

Parameters

$arr

Assoziative array with some data as follows:

$arr['idcat']
$arr['idart']
$arr['idcatart']
$arr['idartlang']
$type

Either 'c' or 'a' (category or article). If set to 'c' only the parameter idcat will be added to the URL

public array
# resolveUrl( string $url )

Resolves variables of an page (idcat, idart, idclient, idlang, etc.) by processing passed url using ModRewriteController

Resolves variables of an page (idcat, idart, idclient, idlang, etc.) by processing passed url using ModRewriteController

Parameters

$url
Url to resolve

Returns

array
Assoziative array with resolved data
public string
# getReadableResolvedData( array $data )

Creates a readable string from passed resolved data array.

Creates a readable string from passed resolved data array.

Parameters

$data
Assoziative array with resolved data

Returns

string
Readable resolved data
Properties summary
protected array $_aCfg

Global $cfg array

Global $cfg array

#
protected array $_aCfgTab

Global $cfg['tab'] array

Global $cfg['tab'] array

#
protected integer $_iMaxItems

Max items to process

Max items to process

#
protected string $_sResolvedUrl

Actual resolved url

Actual resolved url

#
protected boolean $_bRoutingFound

Routing found flag

Routing found flag

# false
CMS CONTENIDO 4.9.7 API documentation generated by ApiGen