function setData($sKey, $mixedData, $iTTL = false)
{
if (file_exists($this->sPath . $sKey) && !is_writable($this->sPath . $sKey)) {
return false;
}
if (!($rHandler = fopen($this->sPath . $sKey, 'w'))) {
return false;
}
fwrite($rHandler, '<?php $mixedData=' . var_export($mixedData, true) . '; ?>');
fclose($rHandler);
@chmod($this->sPath . $sKey, 0666);
return true;
}