File path: dist/twist/Core/Models/Tools.model.php
Namespace: Twist\Core\Models
randomString
— Generate a random string, default length is set in the framework settings
Name | Description |
---|---|
[$intStringLength = null] | n/a |
[$mxdCharset = null] | n/a |
[$blIgnoreSimilarChars = true] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$intStringLength = null;
$mxdCharset = null;
$blIgnoreSimilarChars = true;
//Call the function randomString with the example vars
$resTools = new \Twist\Core\Models\Tools();
$resTools -> randomString($intStringLength, $mxdCharset, $blIgnoreSimilarChars);