| wCMF
    3.6
    | 
 Inheritance diagram for CreateInstanceController:
 Inheritance diagram for CreateInstanceController:| Public Member Functions | |
| validate () | |
| hasView () | |
| executeKernel () | |
| getBaseLocation () | |
| getNewInstanceLocation ($name) | |
| getNewInstanceDatabase ($name) | |
|  Public Member Functions inherited from Controller | |
| Controller (&$delegate) | |
| initialize (&$request, &$response) | |
| validate () | |
| hasView () | |
| execute () | |
| executeKernel () | |
| getErrorMsg () | |
| setErrorMsg ($msg) | |
| appendErrorMsg ($msg) | |
| & | getRequest () | 
| & | getResponse () | 
| & | getView () | 
| & | getDelegate () | 
| getViewTemplate ($controller, $context, $action) | |
| getCacheId () | |
| assignViewDefaults (&$view) | |
| isLocalizedRequest () | |
| Additional Inherited Members | |
|  Public Attributes inherited from Controller | |
| $_request = null | |
| $_response = null | |
| $_errorMsg = '' | |
| $_view = null | |
| $_delegate = null | |
This Controller creates a new instance of this application.
wCMF - wemove Content Management Framework Copyright (C) 2005-2014 wemove digital solutions GmbH
Licensed under the terms of any of the following licenses at your choice:
See the license.txt file distributed with this work for additional information.
$Id$
Input actions:
Output actions:
| [in] | newInstanceName | The name of the new instance. | 
Definition at line 38 of file class.CreateInstanceController.php.
| CreateInstanceController::validate | ( | ) | 
Definition at line 43 of file class.CreateInstanceController.php.
References getBaseLocation(), getNewInstanceLocation(), and Controller\setErrorMsg().
 Here is the call graph for this function:
 Here is the call graph for this function:| CreateInstanceController::hasView | ( | ) | 
Definition at line 66 of file class.CreateInstanceController.php.
| CreateInstanceController::executeKernel | ( | ) | 
Definition at line 74 of file class.CreateInstanceController.php.
References Controller\appendErrorMsg(), DBUtil\copyDatabase(), FileUtil\copyRecDir(), Log\debug(), FileUtil\getDirectories(), InifileParser\getInstance(), getNewInstanceDatabase(), and getNewInstanceLocation().
 Here is the call graph for this function:
 Here is the call graph for this function:| CreateInstanceController::getBaseLocation | ( | ) | 
Get the base location for the new instances
Definition at line 117 of file class.CreateInstanceController.php.
References InifileParser\getInstance(), and WCMFException\throwEx().
Referenced by getNewInstanceLocation(), and validate().
 Here is the call graph for this function:
 Here is the call graph for this function:| CreateInstanceController::getNewInstanceLocation | ( | $name | ) | 
Get the location for the new instance
| name | The name of the new instance | 
Definition at line 131 of file class.CreateInstanceController.php.
References getBaseLocation().
Referenced by executeKernel(), and validate().
 Here is the call graph for this function:
 Here is the call graph for this function:| CreateInstanceController::getNewInstanceDatabase | ( | $name | ) | 
Get the database name for the new instance
| name | The name of the new instance | 
Definition at line 141 of file class.CreateInstanceController.php.
References InifileParser\getInstance(), FileUtil\sanitizeFilename(), and WCMFException\throwEx().
Referenced by executeKernel().
 Here is the call graph for this function:
 Here is the call graph for this function: