$output = &$modx->resource->_output; $time = time(); $cacheArray = array('output'=>$output, 'time'=>$time); $tmp_object = $output;
$output = &$modx->resource->_output; $time = time(); $cacheArray = array('output'=>$output, 'time'=>$time); $tmp_object = $output;