File path: dist/packages/manager/Controllers/Protect.controller.php
Namespace: Packages\manager\Controllers
Extends: Base
Type: Controller
Protect
— The route controller for the framework manager, generates the pages of the manager tool.
<?php
/** --------- Option 1 --------- */
//Register a dynamic route that will direct all function requests to the controller
Twist::Route() -> controller('/protect%','\Packages\manager\Controllers\Protect');
/** --------- Option 2 --------- */
//Or you can register a route to only direct the current request to a particular controller method
Twist::Route() -> get('/protect/scanner',array('\Packages\manager\Controllers\Protect','scanner'));
Method | Access | Returns |
---|---|---|
_index | public | void |
firewall | public | void |
scanner | public | void |
security | public | void |
POSTsecurity | public | void |