File path: dist/twist/Core/Controllers/Manager.controller.php
Namespace: Twist\Core\Controllers
Extends: BaseUser
packages
— Display all the installed and un-installed packages that are currently in your packages folder. The page does not currently have an APP store feature.
void — No return information has been documented for this function.
<?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/packages',array('\Twist\Core\Controllers\Manager','packages'));