TwistPHP Documentation

define

File path: dist/twist/Classes/Framework.class.php
Namespace: Twist\Classes
Extends:

defineTemp function to allow the easy definition of core defines in preparation for Twist to be included

Parameters

Name Type Description
$strKeystringn/a
$mxdValuemixedn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strKey 'foo';
$mxdValue 'foo-123';

//Call the function define with the example vars
\Twist\Classes\Framework::define($strKey$mxdValue);