Core Class
View Source on Trac ↗
Core Class
File
class File
// Constructor: function Object() { [native code] } Caches data to the filesystem
Methods 6 methods
| Method / Return | Description |
|---|---|
| __construct() void | Create a new cache object
Parameters: $location: mixed, $name: mixed, $type: mixed |
| save() bool | Save data to the cache
Parameters: $data: mixed |
| load() array | Retrieve the data saved to the cache |
| mtime() int | Retrieve the last modified time for the cache |
| touch() bool | Set the last modified time to the current time |
| unlink() bool | Remove the cache |
Properties
| Property / Type | Description |
|---|---|
| $location mixed public | No description available. |
| $filename mixed public | No description available. |
| $extension mixed public | No description available. |
| $name mixed public | No description available. |
Class Information
Source File
wp-includes/SimplePie/src/Cache/File.php
Advertisement