TwistPHP Documentation

define

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

defineDefine PHP Defines but automatically checks to see if has already been defined, if so the new define is ignored but no error is thrown.

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::Twist() -> define($strKey$mxdValue);