xPDOCacheManager.writeTree
xPDOCacheManager::writeTree
Recursively writes a directory tree of files to the filesystem.
Syntax
API Docs: http://api.modxcms.com/xpdo/cache/xPDOCacheManager.html#writeTree
boolean writeTree (string $dirname, [array $options = array()])
Example
Create a new directory on the FS.
$xpdo->cacheManager->writeTree('/path/to/new/directory/');
See Also
- xPDOCacheManager.copyFile
- xPDOCacheManager.copyTree
- xPDOCacheManager.delete
- xPDOCacheManager.deleteTree
- xPDOCacheManager.endsWith
- xPDOCacheManager.escapeSingleQuotes
- xPDOCacheManager.get
- xPDOCacheManager.getCachePath
- xPDOCacheManager.getCacheProvider
- xPDOCacheManager.matches
- xPDOCacheManager.replace
- xPDOCacheManager.writeFile
- xPDOCacheManager.set
- xPDOCacheManager.writeTree
Suggest an edit to this page on GitHub (Requires GitHub account. Opens a new window/tab).