File path: dist/twist/Core/Controllers/Manager.controller.php
Namespace: Twist\Core\Controllers
Extends: BaseUser
parseCache
— Run through all the cache files and build up a list of what has been cached
Name | Description |
---|---|
$strCacheFolder | n/a |
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/parsecache',array('\Twist\Core\Controllers\Manager','parseCache'));