contenido\tools\mpAutoloaderClassMap\mpClassMapFileCreator.php
Contains class to create a class map file.
- Author
- Murat Purc
- Category
- Development
- Copyright
- Copyright (c) 2009-2010 Murat Purc (http://www.purc.de)
- License
- http://www.gnu.org/licenses/gpl-2.0.html - GNU General Public License, version 2
- Package
- mpAutoloaderClassMap
- Version
- $Id: mpClassMapFileCreator.php 3442 2012-10-11 22:33:10Z xmurrix $
\mpClassMapFileCreator
Package: mpAutoloaderClassMap

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}',
);
- Children
- \mpClassMapFileCreatorContenido
- Author
- Murat Purc
- Category
- Development
Properties
Methods


_createClassMap( $data) : void
Fills template replacement variable with generated assoziative PHP array
Parameters
Details
Name | Type | Description |
---|---|---|
$data |
- array
Assoziative list with class type tokens and files


_renderTemplate() : string
Replaces all wildcards in template with related template variables.
Returns
Type | Description |
---|---|
string | Replaced template |