Overview

Packages

  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Datatype
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
  • 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

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

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
integer
$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
integer
$idclient Client id
$idlang
integer
$idlang Language id

Returns

array
Full structure as follows <code> $arr[idcat] = Category dataset $arr[idcat]['articles'][idart] = Article dataset </code>
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
array
$arr Assoziative array with some data as follows: <code> $arr['idcat'] $arr['idart'] $arr['idcatart'] $arr['idartlang'] </code>
$type
string
$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
string
$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
array
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 false
#

Routing found flag

Routing found flag

CMS CONTENIDO 4.9.1 API documentation generated by ApiGen 2.8.0