File path: dist/twist/Core/Utilities/File.utility.php
Namespace: Twist\Core\Utilities
Extends: Base
write
— Write a file to disk and apply the appropriate file locks, delayed file writing is also available to store the file upon shutdown of the PHP process (after the user data has been served)
Name | Description |
---|---|
$dirFilePath | n/a |
$mxdData | n/a |
[$strOptions = null] | n/a |
[$blDelayedWrite = false] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$dirFilePath = '/home/user/public_html/twist';
$mxdData = 'foo-123';
$strOptions = null;
$blDelayedWrite = false;
//Call the function write with the example vars
Twist::File() -> write($dirFilePath, $mxdData, $strOptions, $blDelayedWrite);