Class humhub\modules\installer\controllers\SetupController
Inheritance | humhub\modules\installer\controllers\SetupController » humhub\components\Controller » yii\web\Controller |
---|---|
Available since version | 0.5 |
SetupController checks prerequisites and is responsible for database connection and schema setup.
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$actionTitlesMap | array | Page titles | humhub\components\Controller |
$pageTitle | string | Title of the rendered page | humhub\components\Controller |
$prependActionTitles | boolean | Append page title | humhub\components\Controller |
$subLayout | null|string | The name of the sub layout to be applied to this controller's views. | humhub\components\Controller |
Protected Properties
Property | Type | Description | Defined By |
---|---|---|---|
$access | string | Defines the ControllerAccess class for this controller responsible for managing access rules | humhub\components\Controller |
Public Methods
Protected Methods
Method | Description | Defined By |
---|---|---|
forbidden() | humhub\components\Controller | |
getAccessRules() | Returns access rules for the standard access control behavior. | humhub\components\Controller |
Events
Event | Type | Description | Defined By |
---|---|---|---|
EVENT_INIT | \yii\base\Event | An event raised on init a controller. | humhub\components\Controller |
Constants
Constant | Value | Description | Defined By |
---|---|---|---|
PASSWORD_PLACEHOLDER | 'n0thingToSeeHere!' | humhub\modules\installer\controllers\SetupController |
Method Details
Database action is responsible for all database related stuff.
Checking given database settings, writing them into a config file.
(Step 3)
public void actionDatabase ( ) |
public void actionIndex ( ) |
The init action imports the database structure & inital data
public void actionInit ( ) |
Prequisites action checks application requirement using the SelfTest Libary
(Step 2)
public void actionPrerequisites ( ) |