TwistPHP Documentation

writeCache

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

writeCacheWrite the cache file back for the correct cache key

Parameters

Name Type Description
$strViewPathstringn/a
$arrDataarrayn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strViewPath 'foo';
$arrData = array(=> 'foo'=> 'bar');

//Call the function writeCache with the example vars
Twist::View() -> writeCache($strViewPath$arrData);