TwistPHP Documentation

InstallWizard

File path: dist/twist/Core/Controllers/InstallWizard.controller.php
Namespace: Twist\Core\Controllers
Extends: Base

Type: Controller

InstallWizard — The route controller for the Install wizard that provides the TwistPHP with its in intuitive in-browser install wizard.

Example Usage

<?php
/** --------- Option 1 --------- */

//Register a dynamic route that will direct all function requests to the controller
Twist::Route() -> controller('/installwizard%','\Twist\Core\Controllers\InstallWizard');

/** --------- Option 2 --------- */

//Or you can register a route to only direct the current request to a particular controller method
Twist::Route() -> get('/installwizard/licence',array('\Twist\Core\Controllers\InstallWizard','licence'));

Method List

Method Access Returns
_indexpublicvoid
welcomepublicvoid
licencepublicvoid
checkspublicvoid
databasepublicvoid
settingspublicvoid
userpublicvoid
packagepublicvoid
finishpublicvoid