wCMF  3.6
 All Classes Namespaces Files Functions Variables Groups Pages
CreateInstanceController Class Reference
+ 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
 

Detailed Description

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:

  • unspecified: Create the index

Output actions:

  • none
Parameters
[in]newInstanceNameThe name of the new instance.
Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 38 of file class.CreateInstanceController.php.

Member Function Documentation

CreateInstanceController::validate ( )
See Also
Controller::validate()

Definition at line 43 of file class.CreateInstanceController.php.

References getBaseLocation(), getNewInstanceLocation(), and Controller\setErrorMsg().

+ Here is the call graph for this function:

CreateInstanceController::hasView ( )
See Also
Controller::hasView()

Definition at line 66 of file class.CreateInstanceController.php.

CreateInstanceController::getBaseLocation ( )

Get the base location for the new instances

Returns
A relative path to this application

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:

CreateInstanceController::getNewInstanceLocation (   $name)

Get the location for the new instance

Parameters
nameThe name of the new instance
Returns
A relative path to this application

Definition at line 131 of file class.CreateInstanceController.php.

References getBaseLocation().

Referenced by executeKernel(), and validate().

+ Here is the call graph for this function:

CreateInstanceController::getNewInstanceDatabase (   $name)

Get the database name for the new instance

Parameters
nameThe name of the new instance
Returns
The database name

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:


The documentation for this class was generated from the following file: