TwistPHP Documentation

runLevel

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

runLevelDetermin if the script is being run on Shell, CronTab or by a Webserver

Parameters

Name Type Description
[$blDetails = false]booleann/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$blDetails false;

//Call the function runLevel with the example vars
Twist::Framework() -> runLevel($blDetails);