TwistPHP Documentation

Manager

File path: dist/twist/Core/Controllers/Manager.controller.php
Namespace: Twist\Core\Controllers
Extends: BaseUser

Type: Controller

Manager — The route controller for the framework manager, generates the pages of the manager tool.

Example Usage

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

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

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

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

Method List

Method Access Returns
__constructconstructvoid
loginpublicvoid
forgottenpasswordpublicvoid
cookiespublicvoid
_indexpublicvoid
dashboardpublicvoid
cachepublicvoid
parseCacheprotectedvoid
apikeyspublicvoid
POSTapikeyspublicvoid
htaccesspublicvoid
POSThtaccesspublicvoid
scannerpublicvoid
settingspublicvoid
POSTsettingspublicvoid
GETupdatesettingpublicvoid
packagespublicvoid
installpublicvoid
uninstallpublicvoid