TwistPHP Documentation

condition

File path: dist/twist/Core/Helpers/View.helper.php
Namespace: Twist\Core\Helpers
Extends: Base

conditionRun the logical comparison between to sets of data

Parameters

Name Type Description
$mxdValue1mixedn/a
$strConditionstringn/a
$mxdValue2mixedn/a

Return Values

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

Example

<?php
//Set the variables for the example
$mxdValue1 'foo-123';
$strCondition 'foo';
$mxdValue2 'foo-123';

//Call the function condition with the example vars
Twist::View() -> condition($mxdValue1$strCondition$mxdValue2);