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

  • mpClassMapFileCreator
  • mpClassMapFileCreatorContenido
  • mpClassTypeFinder
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class mpClassMapFileCreator

Class to create a PHP file which contains a assoziative PHP array.

Generated file will contain a PHP array as following:

return array(
'{classname}' => '{path_to_classfile}',
'{classname2}' => '{path_to_classfile2}',
);

Direct known subclasses

mpClassMapFileCreatorContenido
Package: mpAutoloaderClassMap
Category: Development
Copyright: Copyright (c) 2009-2010 Murat Purc (http://www.purc.de)
License: - GNU General Public License, version 2
Author: Murat Purc <murat@purc.de>
Located at tools/mpAutoloaderClassMap/mpClassMapFileCreator.php
Methods summary
public
# __construct( )

Sets template and template replacements

Sets template and template replacements

public boolean
# create( array $data, string $file )

Creates classmap file with passed data list

Creates classmap file with passed data list

Parameters

$data
array
$data Assoziative list which contains class type tokens and the related path to the class file.
$file
string
$file Destination class map file

Returns

boolean
protected
# _createClassMap( array $data )

Fills template replacement variable with generated assoziative PHP array

Fills template replacement variable with generated assoziative PHP array

Parameters

$data
array
$data Assoziative list with class type tokens and files
protected string
# _renderTemplate( )

Replaces all wildcards in template with related template variables.

Replaces all wildcards in template with related template variables.

Returns

string
Replaced template
Properties summary
protected string $_template ''
#

Class map file template

Class map file template

protected stdClass $_data ''
#

Template replacements

Template replacements

CMS CONTENIDO 4.10.1 API documentation generated by ApiGen 2.8.0