TwistPHP Documentation

Route

File path: dist/twist/Core/Utilities/Route.utility.php
Namespace: Twist\Core\Utilities
Extends: Base

Type: Utility

Route — Simply setup a website with multiple pages in minutes. Create restricted areas with login pages and dynamic sections with wild carded URI's. Just a couple lines of code and you will be up and running.Maintenance

Example Usage

<?php
//Call the function disable with the example vars
Twist::Route() -> disable();

Method List

Method Access Returns
__constructconstructvoid
aliasDomainpublicvoid
disablepublicvoid
listenerspublicvoid
setDirectorypublicvoid
setControllerDirectorypublicvoid
baseViewpublicvoid
baseURIpublicvoid
packageURIpublicvoid
baseViewIgnorepublicvoid
baseViewForcepublicvoid
debugModepublicvoid
bypassMaintenanceModepublicvoid
metapublicvoid
modelpublicvoid
getAllpublicvoid
purgepublicvoid
getRestrictionspublicvoid
pageTitlepublicvoid
_restrictDefaultprotectedvoid
restrictpublicvoid
unrestrictpublicvoid
restrictMemberpublicvoid
restrictAdvancedpublicvoid
restrictAdminpublicvoid
restrictSuperAdminpublicvoid
restrictRootpublicvoid
restrictGrouppublicvoid
filepublicvoid
folderpublicvoid
controllerpublicvoid
ajaxpublicvoid
restpublicvoid
packagepublicvoid
redirectpublicvoid
viewpublicvoid
getViewpublicvoid
postViewpublicvoid
putViewpublicvoid
deleteViewpublicvoid
anypublicvoid
getpublicvoid
postpublicvoid
putpublicvoid
deletepublicvoid
addRouteprotectedvoid
processRoutesprotectedvoid
processRoutesArrayprotectedvoid
loadPageCacheprotectedvoid
storePageCacheprotectedvoid
currentMethodRoutesprotectedvoid
currentpublicvoid
currentRestrictionpublicvoid
uploadpublicvoid
managerpublicvoid
placeholderpublicvoid
resourceServerprotectedvoid
processControllerpublicvoid
findURIprotectedvoid
servepublicvoid
serveTypesprotectedvoid