TwistPHP Documentation

string

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

stringValidate a sting, this will ensure the is is not an object, resource or boolean value

Parameters

Name Type Description
$mxdStringmixedn/a

Return Values

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

Example

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

//Call the function string with the example vars
Twist::Validate() -> string($mxdString);