TwistPHP Documentation

Base

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

Type: Controller

Base — Base Controller should be used as an extension to every route controller class that is made with the exception of those controllers that use BaseControllerAJAX and BaseControllerUser.

Example Usage

<?php
//Call the function _default with the example vars
$resBase = new \Twist\Core\Controllers\Base();
$resBase -> _default();

Method List

Method Access Returns
_extendedpublicvoid
_baseCallsprotectedvoid
_defaultpublicvoid
_indexpublicvoid
_fallbackpublicvoid
_baseViewpublicvoid
_baseViewIgnorepublicvoid
_timeoutpublicvoid
_ignoreUserAbortpublicvoid
_aliasURIprotectedvoid
_getAliasespublicvoid
_replaceURIprotectedvoid
_getReplacementspublicvoid
_callFunctionprotectedvoid
_routeprotectedvoid
_uploadpublicvoid
_404publicvoid
_errorpublicvoid
_responsepublicvoid
_errorMessagepublicvoid
_warningMessagepublicvoid
_noticeMessagepublicvoid
_successMessagepublicvoid
_metapublicvoid
_modelpublicvoid
_varprotectedvoid
_viewprotectedvoid
_renderprotectedvoid