wCMF
3.6
|
Public Member Functions | |
validate () | |
hasView () | |
executeKernel () | |
getBaseLocation () | |
getNewInstanceLocation ($name) | |
getNewInstanceDatabase ($name) | |
![]() | |
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 | |
![]() | |
$_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().
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().
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().
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().
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().